0% found this document useful (0 votes)
4 views

SQL

SQL questions
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
4 views

SQL

SQL questions
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 16
STRUCTURED QUERY LANGUAGE + Hippel g SPREE Y carter cneextssr SOL STATEMENTS Lanes ‘ecm ur gp of Semen 1. DDL (Data Definition Language) Ac mp he oe 2. DMI. (Data Manipulation Language) san Se DM snes tes 1) INSERT ed wir da le (0 SELECT ee rei om dnt so eroartntneiineii (bata Cone AP) 4: TCL CTransation Contra Langs) (i) SEPTRANSACTION cbt pope he Rules for SQL commands ale fr SQ command een ow {@ SQL macnn can be ged Lwetene Spc SQ) sens ae ec pe cin igs (9 Thesemeecn be pels or i (5p A semis () ie ued to cermin the $9 (9 Thestent maybe tibet arsine Lor cnme be (6 Acoma ire spate parse wth oo sa (09 Chances and de consis of Kea ‘hed ge quo C4). (68 command can be ped cher fa A gma ‘gpd ether lo se 00 | Altnone | COMPUTER SINCE Cs $01, Command Basis SEEPS Bieter Geningend ingame eaten rt Hr gr th ee aig Rsk lie oe ess Ee ee tise Test Mor Si conan "re oe 201 rings aine 7 Sartore as conn nas ea vie ie £ DDL STATEMENTS/COMMANDS CREATE Statement Dlpiing heal scare Cerey ene as ot um tr ‘Reconstr die ALTERStatement re oe 00 consi “tere guy wil dee» aon Sn en ase MODIFY Calumn Data Type | Alinone | COMPUTER SCIENCES, RENAME Statement [DML STATEMENTS/COMMANDS. INSERTStatewent nl we wnt gta i the PERSONS ‘teeing SQL seen : src Qe Lang fin pt ein el enn {gets ee ise ting tne SELECT Statement Teo pt ees Sirona SELECT ene de ‘Mea uk nay africa [SQL SELECT deka be seeded sirmats soy md ROM donnocoka oc clint hee ‘Ellen late coef ce sand Nine sd FeNine ce PERSONS Sie 203 “en we iin SLSCT te can lie Sr, ety cee meee peti doae, eats Oa Ss tr SSRN et ype i filing eu 4 | Atipone | convur seu a Operators in SQL eg i fan wn ena Ein Seto Pane itt br ck eeu. me, sa, ro eg et ec ayo diy MENIME ad ees 7 Bini ent a ee re yy deg ec pn one inp a ae Foam SE ga a be Sst = in St i 1," fier BU c00e at erp efi ae cea” BeSsqpet qed ont mony sg it ed on SoS ee ie won 9 SOF METRE Om i i ie sims 7 a — es ee 9 10 Sr ee jaa are Wee ning SECT tant eer mae fro tee The rele se wi lok ike chi 1 ie cn nd enioetcostone same onan wah ae Teton ge rin Dane UPDATE: DATE nem op ig ra Tinaecnced 2 ESI pe ee ome elferramnisepommtvshstscnae BORHESE dese din emt oplue Fret eae SEs re tere ON ne ‘We ong SQL met (onpen ay cause yeu lin a ke ST cmend Te Siege my eg cetera es Reet ‘eee ling SELECT sexo sei deta i ee Teves vila thee Sere eal wen wing red we it he WHER 208 DELETESttment ay WORKING WITH NULL VALUES Sheep le een NUL ee SES ibe end yc Eat NL oe nS IS NULL Clause | Attnone| co ' ISNOTNULL-Clause gS ts ‘Seve wig ee AGGREGATE FUNCTIONS ‘eps ono eh eet ieee om ODEN Pe ‘REGIE Ste ‘Toye amon e TED det SEECT een Seo BRR SO pe ts faa oer 209 MAX() Sg EES Se maim te me fo count = Lae amo SeGSSTASA STALLS Tp hc a te om sgn oo! be ee Bam SEES ee es ep om i one - DISTINCT Clause with COUNT( ) Function. = ite ye fo tl he Tee Be COUNE Ee he wh Sian i ion h am fs a se pe ETygger te bef in gwen cnn ‘Sunn The SUA or ‘Retoceoa Soa eae mS thane atte went nes ema JoIN ‘Seve itn ind of pe 1. Bau Join 5 ‘Ti eee ERSON al ORDERS w oro al "Yee ing SQL tment si et pewinghe hy RST UNAtE a BEET Maeno 2 he om fom he ele, hata he a ne sgt UBPT OUTER JoW oe ‘PERSON and ORDERS, r “a elfJoin at ey Ce ns | Atrone | Conan CNET Cesta 2 Zgetig OIFON EP Nat Se Siepeciaaliae } | EXAM PATTERN EXERCISE omecrive 223 I ! 7 se So conmant ore) othe 2 sormen yet om wow 2 syne Ayes SALARY and we SL seman fr he tostter “moc crn eons a tt (yn eps oe © Gres odema ame tan | CHAPTER TEST | oumterve

You might also like