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

SQL Notes

SQL NOTES

Uploaded by

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

SQL Notes

SQL NOTES

Uploaded by

YUVARAJ R
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 19
» Onde 49! FEBRUARY ~l i ed 0 oe Sq] - shuclaed Mey Hr Relismpe nd bbe, Ase 5 thy dnd att - 19Ves eg odd Yeu. 20 is te Sunday. wile vines. 4 9) fa") y | eo . : 2022 March, : @ Sryeenem ts 8) Ven rwanes + ad . Wei2ae a? : aNd sted ) hee ete e738 B (A \ ia ws 6 wy) DUBBED BEBE De aes ) xen" qRawyn Ls we \4 yan Oe y 2 FEBRUARY Week 2 21 niyonje0ne Ee Day 052-313 7 Monday »| “Det Ay pes» ? ve : ‘ ee; » Numert exislos Ri “xu? double... [ON fy . Ru a deciral . so >A . ) Ww 3 float sersth DAL. \> we umber, 2. Pry ochre only & rm wag ‘Auimber 16> = Cy OB 8Rae O- num ber v-1812) = apathy a ae ast le : “Pe, ios “enumbs bel ian my chee SSS ts mien Ut or SS fe Le Heegiene. if ug ive A ae : G4. input st Sore, : Oe Chuan chey - char = Qooa: Boca byfes: wre occlly hull sprees be Chor (20) - Rainsilea Tp) Sepater 16 : O DeSevee'- Nahe) oor - bbe now de racee | Vieen ar ele) ies bytes see sets ope cha ta = ESA: oes. “date (* OG 6/4, » 22/02/2022 ss fof y} Tp. dle tee ‘eae oy etoutt A2Jkl-oo, i a «det wolfe ‘ to-date l bo06/2h/aea Tad Ny ) @ ders aye -dinge aboee “tn Jin oy op, we redo B agp = BhaFaghe Meye~ than howe “Audios bile. . a . “chop . aharac tr ays « Biop - Binayy darge aby , imete EA (i! del ay” ¥) i bee ba ges Fomor bey ee df ete Eh sa [7 aura - = , ope 8 ek & OSS eee Hoke KD ys g ‘desta t bees De pel 4 [ol f es 20 46 (ae » Hee ba re y E = / BMG” 7 a) 7 |= E Cae ete | | (ame) CE ase Bl. & 2S dara a9 “ : cinder abo nbuv| S =. q FAL) abwnpur, 4m ale ane waren 4 uy rupee opr ar ft te { ete 2A [Pesaran anc” Soi Bal Th a2 CER ees Rete ovete stable 4 sno A bY) Insert. the. record jn ko rarieey PZ pdode. the yecord, 74) Ped_ be column; drop column ‘ | eGR Al oN gx | Ae ‘ SS) 97 Dale, pak AVrop) oiperera GS | #2). jose with ee PR. Soa ts | un cate a fa : Hedy ou trlole Restore, Q=ab\e. | | : iin | en! “oe Se cg fone. | la ble, “elasignaer it Select from —— Bees : UStOret | - Selec k.™ * fom customers sh VCR Zero corte Eola. Cusborder\:, olenoikg...talote Easkaine vd Swowtre ood 64m 6b kno yarcane2(2e5 SE See fiom \nsext, into Seeate, qustome i) “pulinaty Key cutie id, raabie.ne) vi pte nny oe? fois a es 2022 February ie “eek ase Oey rade oo y & ©). Sa ‘@ Cie oe spat, 4 Aekrntron rane Spied Romo? Dogveya Longvese « — 2 Perma « compasiie Mojnutr Unique, J! s Osingle— sou) Fehon), Sapte Aa tenon) Beleste. i) TH A ee 4 Column oNog. eg Feworenay: roel & ° , concet \ = ee oo HA —_ depifez and: say 7=1PE PD. ¢ Afsminet p> Voique. pune ae, f wba Se Query A Areal ce Seo oun £25 F Cty id). 2 _ | | yous td oP SE Go blames emnely: null wns, eienaaer Aid Sommer werid WK Ste Adee Se ein a trl a d Wetveen — Soyo #ht Joes ¥ son ra Ba sa ae ee Oey TRE AZ ©. od Sar | Select Q-durer ca.constraim — Name.,, a cons rand ~-typey bable name, b Column= nore efro¥W a conshainis a, AU-cons — Columns b/ here A. Cons Mowe = b, conchaint newne ond a. over = *ue’ord rSvbaden nome. *Gds TOMER", “A ; 23-Jur- 6025 Spent locker HE nBigkg ce (hive -date, "yyy > $0 - char hive: debe yay), 2° 2.905) | : fo crac Oreedalh, Seams) 4 Tenwenn Jporee§ wed Sq asl Frabay ~> Formed enos ng bo charthice dele Wingy ye Sade PEF NMOS esac nang AN!) LS antl ape h reveate noe steve nal carte = oe eee SIN VY or Sayenis Oke YO colomn Me ) . ove Gis 2c . awe Hroube do Tyg Ss s te Ure yed rovers SNS a er ite a ~ xX ey NO. sDW taypp. nat Othe 5” ths OER Fr eee ON DL { = wf 2 ie at ‘ tetas rout 6 tn Single. taio. ; F Set Suns Gestoiag 1 Meet fosiben, mo of cher) . | Wat) ~ (1G * @) | 4 Dts of ttle Mrckly, < RAD gv - oe aes u ry! tay, 7 ATRIN » RK TEEY —<~ Wetcone wet EME ET ji bags sso" 0! | j i f i i , Select Replace Cuack, and sue’, Ser Som . povrah + Aig. Select Leplace Oster and WE yin D fae Celeok waco Cab, Lerma | Bes) iB bom ees [ \ate (* ween Be Boavbove a Bee E “um ve oun Awod’5 te yer AZ OS Apiecdre — Yodurt we 19 DA a. dL | 2 hive» gig. 2 Qe) (ath BPS ruth wll S1UULY i Rye Dang ; tls, aie | for) be i Noy 20g Gack sfnory Sales LON? ora fT : pou . waved | poles. qo vebt Solo » foray eo Nn lA gue) > com gepein sue Ne @ 7 rewn 34 gee f gements sy O. null if, =) born equal full Lay 5) nag OE : SQL Serecy a ; Liem cempley WY Sa mpley. WEE HAG Mama = lastname ; seek, Ra name, lastomerie: Ser, Omplye. Uiveve walls C PO Pe on fest rene, Veoh — woe ts oot, nulls Wine © | Ff Cooles: bog WY COs hesee 5m num ogumasie Fick] se Hult equaf| 3 Fer ana) Paes, ny OM micane U Pe ee oy 7 bell Corn Aerto Don Aw ve d Los |) aumareder Moar gageyes Wee wed ( to-cher (are dates er =O eden ee = Cul, heb ee fe Month beiweon -! (To DATE (Boroforl Seleat * Cron emspleyoec where Wen’ ~\belsteer oq1og tm wy jv Jd)? (tome 07?! “edokeC oe todo (sede Next clay. : Selegh NEXT DAY (Bt -may-o0201) Faday”) trom duels ppp_mon THE ( 24 -0ay -qoit, 2) duals rom Ogle rr. Wl cx _ Cre reset at re sp phone: Saba” As oy. mae a 7 gat or |, rege “aict GC 1 Seted ep td, Fier nee, sale oe a 5 ease * D, Ute taken” ola ot Se, henge ett geen - When Solery yes 00 OT Arn c “ie usc fe Conte cbt ie & he “hele beset on Q cB oe cepa = thner sa ru is % baty Sep pom Let ov ae ae “Pin os ipa, ide Suda ian oe fale rf vor se_methods | rplock meshed 2 ANS) Method | we va Select atiet sname, a, ‘oge, los étew, Paomnauch , ree Customers ay ‘Orders b where a cush i. beewat_id pty), Ans) xno. i Beas Arst ine Oo, «sige | ‘es 1M Anny goin Ge + On . ANNEX goin GE fais oe, : ERE CO Sang Va County , oy es “aking waar » eA dy Wonek Jon chy b + O9 ‘e Ales 4 & Bic hy td nner Wein Sleck_ from empleyee 12%; inner eh pace tly nay pane, scan’ 6 ec gassican & Gar 250 06 Pub bslewsti. Gress Jorn OCS" Comonve on aes ee aa 20in ‘With thst | Self Soi 2a eat Ks deat shes, ia @2rArene Fore oda. Aware ents Ads ercsha. os cial ey Sy, ~ RAW, Joie “ it sce © bees y! ‘Sy ST ovder-id, _ “Biri sal) 3 Skee) wirere. itraeeal col > Age: {i see a" S as sg os" ae wn er wb 0 “ee 2) ee) Sinste- hing "eet 8 ‘atest Gclaet) | ttle 2000 : a ww ‘gow & Ca j Sek Sfemimns >. Soames ruchure okie, Unien =e remove Suglicacle, VORA > Nek tomar Aupliints , Ceeenteul Toroscet DF Sommer delhi. toon Aady . 632 BRS OO a ee v 20 ) ARB eve, : aan ‘ FL tome, i onsis i . 63 Sfp hull 03 ton” mu q a + = operas 10 _. Ana sin Ac) ee i ‘ aly weal Hons! (Rat on Aden vale, | 4a) Hl ee load = some en) D Pamet) . eee ae Deve E Foy over (fre BE ce y, ee Mis. 4 Rags ENG og Sam solouy aw Mame)... 7 Ned sragrero!, —— Sele Soc e wf 4 O Scleck Une name Salary, sum Csaley) over parton by fep_id d, sa Hom omplogerd > i Po Rone | Qewse—rank oy | yoy numer, 360%. : 1 bh \ | | | Side. c / over } Io/ es / : % eS Yony «5% Over Corky by . Vou O> or é Pantlss Basateres, aoe ad: Order be Race, Poloes, Sum Coolers’) gue t> forom emplayen. j Gooo * [boos . | Boas | good war Pes a 2 4 16 4 qT 8 ~9 antiny cal “Oa eldes ) ya Pant (> Over C order by rontity, os) ose Ide.) ak © Vane) Wer ( Poscesdrom by ‘giouesest Orhon te Ranterny cat asicldass rant . |, Select 4 from ‘Select, __ Yankee Yl 19m owing) — ax bob: : = ay x ~ Seeand Negba coding 72 'akt : a é: Yant =o: vt oe er), vy d. dep id Grom CSeleet omp_id, Solesy , dop_ yd,’ Ne over ordanstoy Salany dered @ Tnnew Jor iG Gerectrants 4a erdep-id = ddep_ td Whore Wene cos Oder toy One nxt — bofee, WS cpa Seadoo E flog c) Fin daty sap). net TY + “sD eeion! s {ly WLeacio, 0); @® Rey exe like, Ceity Laer ae m v. Dao hop nee ‘ N Reg exp like Coty *[aeioy AF lous @ Steseting Dette . ; cost a g fe Dowex &. UR ee = at 1 ; Regex Nee Cecily WacisuAe Lou] @ (cetserernr]t ee ree Tedey J Between 6 Sy = tot Recd , pate =~, CVlewtig wrt ) Regexp_line Colty ) A Laetou sero ol ')s slnt-rerd. ere d Reg Bp lite Corty i> A Laced aBtou YA Cociquacoodp, Wee oh Pde tga = QD Se “Fiero destin 0 spate) kates s.aticbyme _Cdebyrmreen og) | alee ae ; pk Maken dered rea SR 5g) a CH Inbine vrew! |i wad, ee i ewe : *Ob5 eet Debtnilan . A Veo bee a wirksid fable HES tires bai) by a Gury joveieg One OL mare + WVren: caabiie ho dala Autre oda i Shows fom He base lle’ © oo auew hid Jmpleneitelton soeplonsly 4 “eau bres CL col From ong of me Able F Pad Ormel fed <6 lolule Seentty by resdaitiry ress IP a setoe ys “ ool Ca toblle, Hivple view -Singte base Pally ee ae, Bp Tbe, More) Han One table - hoa ‘ een? te “3 Syny My Maderobred Wew sine ne PLS shafahinte a oj maebotde, ore F Greate Maealzed | [> Boil Cwimediode dl * ° et Nery” 3 View ~ nome in Pelpehe LEE Conaptee arose Ce \ Oe Levant pened 2% Probte | Dike}. : Queny Penile] Nee : , Dee ae tones 1 -tusytd Pez, Laorrtis By tr using “psy Cooy o, — View Me Ms Mote « bust. = a ; : Securtly Purse 5 aoe Oe i _Rerhotringsan: dealravernionp 4 PML Con ue 0! "SOML Can Mae. —e taline Wie eure os Overs only, Oren $e © Selees atadmment tr Are berm Claus OF onptiner Sule of abl Seloe.t y ne : ee ob BY Beek “ERE Gheos VOY Proc chstomens ee Quiet t 1 7 | eso. ce view 7 Des vara wean eB rade Papyeban ® Doex Re Orece wow ante ce fo anne Baa, Gann the” "SERA Moms ps: [taper aprroinaners, AMO Do, Q 4 see 5 PRBS WN. ORES, Now sshocke AUS Regma - Orr dk WRU OU “aiear? (heed Seon ow peed. ® Whar fs Koy Qiorermadk horig: . hed, a atk © Jip 80a! Veit mong Kotte, : ore Leen Pree + SES ey ©: Crees Gem Becta | 2 a 6 aail trite patite we gue eh: SB eewtaring SQS\ G\ ENS ora te ou : v dont vag? WRX Coste Whi tote Tk Cory’ 2 & es 5 TE_Y Wort ctore 7 ope \ Se 2 ae \nstea dD -20 too, BE Bows, we | we Been Ved TO Mest etd | Slog: Gam ales Sorters Ve ten. » Sevag i List plac oe eee Pow. BEEN we 8 an i) Naren WRysorkirs Pelle. ee no Prove, any a Pekin ‘2a decine, Son alas sci : Prowainn’s'@! 4 ce ‘Sb¥ens ah ei 5 Toy Ferms ae. Sg cay SPemeny Dexerenng rat sre Ud tors Lat dL. A en, 96 Delete: Darhitate oa Dele Kom Person Shere Bok tr i Calec€ maid From (Sold eR), f email» pan Gd) ng mony frome | 3 1 Parsi grup by onal, ee e . Moby. —

You might also like