You are on page 1of 1
j, REBEL Basic Queries SELECT cot, coco, FROM ble WHERE cot = 1 AND os =2 ‘GROUP oy avING coun®)> 1 seh eon for SELECTS DISTINCT ern uigue es [BETWEEN 3 AND Ol the ang. thes be Nia cece thea cartes mong en Data Modification UPDATE ble SET ot INSERT INTO tale (D, FIRST NAME, LAST NAME) VALUES, Rebel abs INSERT INTO let JD, FIRST NAME, LAST.NAME) SELECT at sare ist name FROM ble? WHERE col2=2 Views Sseueer coco FRoM tii The Joy of JOINS Updates on JoINed Queries ‘oun JOM your UPDATES Uroare' ser FROM set 1 JOIN ste? BOND e114 Wnene 3! AND co2 NULL ax mph be taser Semi JoINs “uc sues tet SELECT 0,2 FROM ae! WHER Indexes Hyouquen bya cour index (CREATEINDEX index! ON tle) ‘eid ovrppirg done cing onto many coh courant Useful Utility Functions TO.DATE (race PosreQh STR TO. DATE SCR) (CURRENT TIMESTAMP. mere a ae eur er bh ues Reporting se agregaton nctene COUNT return the rater ofr SUM crete he PN WA srt ge ae XRebel

You might also like