Download as pdf
Download as pdf
You are on page 1of 1
comMIT ROUNACK ‘ALTER TABLE UPOATE CREATE onuere InsenT ROP GROUP BY ‘ORDER BY MAVING ‘COUNT SUM ANG. ats MAX Select dat hom database Speci table ww pling orm Fitec query tormaich candi Rename cute or table wit alan Combine tows rom 2 of mare tables Combine query conditions. Al mutt be met Combine query conditions. ne mat be met Unitroun rotted, See to FETCH Speci rutile vahees when vue WHERE oouin value on 2 pected wonsian Beturn only res wih a NUL valve Siares for paternin cotuma, Waite vamaction te database Undo atransstion bine ‘Asymemove columns trom tae Update tae dats {Cresta TAMLL, OATABASE, MOLEX or EW (eleto rows fram able ‘Aad singe row to table (edeto TAB, DATABASE 0 NODS Group data into logical nets Setar dar of rept, Une DESC wa reverie arter Same an WisKAE but fiers group Count number at rows Aeourn uum of column ruin average of elu earn min value of column Re re il el © croursy @ Havine @ sevect © orver sy © um (CHR LA Mabe (eat. col2) AES (est, ated SELICT cath, col Fon mya, SELECT cot, eolz om tb LIMIT by “Eolec lt.columna with multiple fears SELECT * FROM tbl WHERE coll > 5 OR col2 < 2; Eolact allows from eal! col ordering by eott SELECT coll, col2 ROER BY 1p SELECT AVG(coLL) FROM tht GROUP BY cold; Combine data from 2 tables using loft join SELECT + FROM tbUL AS 1. LEFT ‘TDI2 AS #2 ON t2.coLA = tH.celL ‘marrapata and fiver resuit SELECT colt, HAVING © SELECT cot, € YEN ala > 18 THEN "ore than 19° wit COLL < 16 THEN “Less than 10° ELSE "18" ENO AS. NewCoLumname ROM bbs

You might also like