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

Computer Network

Computer network notes

Uploaded by

Feel The Lines
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
39 views

Computer Network

Computer network notes

Uploaded by

Feel The Lines
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 28
romanruMCATONS sec ny in in he ie pen Ce ee eee {acing dpe rots, Cease CUSTOMERS bl having wine [oT mmeas ‘2000.06 iss | | esl HHSeY| B/E | eel LAUR 1 31 Bavce | dei3 | SES eee tas rear Sorte 7 oe Sem Me ode tan ‘This wou ove lew eu wher salary 2200 scaring wie plate rr Eom erg tae a0 scones wi a 1 3800-007 { Besce5 | | sees | | tsecee | | eocae | | eoe:8 | I sseece8 | Sosa earner Say vane eeprgeT=7 d ee al his oud ead te liming re where we rat ve ay plier BcDB-7 ronan paces “You en ns WHERE clase wih UPDATE gry fo upd sled ove herve thers would bead. Cnr hs CUSTOMERS ub vig he owing esos Thee [aoonias axa | | 3400.29 | 30020 | Fain cal ih wept ADDRES fr acme whe D6 | tibe‘eo | ‘00.60 | [32 | atmedasnd "3500.00 | i | sseae:66 | ‘Now, CUSTOMERS tbe wold ve ie lowing recon ca rites eae [fame 2) ase Lf) Sites |B | te ot fier) alee nee Ir you part o mea ll ADDRESS and SALARY cou value in CUSTOMERS. ue edhe oe WHERE ced UPOATE acy wo Nov, CUSTOMERS abi ow have he flowing meds [ae soa hoe ( aooaeas | satay | aarsnsse ASAGeMENT STEM NER JOWN statement hemo hearty wed andra of te ons i be PINER JOD. 7 ‘eed om 28 QUOT co “The INMER TOWN new rae by aig cls was of 40 en fai! od we) upon heaps The query compas acho of ule Gach 0 IE i fd a pk of owe we ss te Jeri, What Belang eae em na ached as AB ‘nse te folowing wo ales) CUSTOMERS wl foe ‘ow. lest owls wing INNER JON Sa Seay, ma, em, ATE ‘This would proce the following ress Ty] saeanix | 3200 | 2009-16-08 0-00-00 | FLEES | ik | Sep ieae fen. | |G] aisha | doco | 3000-05-20 voceocon | UPDATE statment The SOL UPDATE Quen ised oni he existing cade in ata Be pe-71 aALARSEMANAGENT RIE acest nes ESiope rns (emp, Name, Job, Mirae, Salas, manepr Js DBA cry ce KEE meme meen mransa senate Sn Heese eras tae tert emcees Se remem, Fekete eat Heichs canomanace toca tt Fete citrnce ete nium and macmum etre f wroyoe ‘AIT ume bf Engl mare 0 ihe"! 8 he BSS Ne ton Ely dr wre ary atone 1500 3508 Oi Ne, Sy lays" Say om Employee a, sc wan ay) fom Bape ser, jit Name magn em Eye master wh marae inc 48, 189 is malay ine) oe Eoys ma 4. comsdnt fosomig te sohamas: rweur 2010) Tin 3, Pabe, ACDRESS, JOWN_DATE, SALARY, MANAGER DUSELECT + FROM EMPLOYEE WHERE SALARY < ALL (SELECT [RVG{SALARY) FROM EMELOVEE), 1) SELECT DEPT. 1D AS Deputmen ID’, COUNT(") AS Neof Employee FROM DEPT IRNERION EMPLOYEE (ON EMPLOYEE DEPT 1D = DEPT.DEPT 1D ©) SELECT FNAME FROM EMPLOYEE WHERE FNAME LIKE (6) SELECT * FROM EMPLOYEE WHERE EXTRACT (YEAR FROM AGE. {@URRENT DATE JO0V_DATE)> 10 ‘SELECT MAX(SALARY}, MINSALARY) FROM EMPLOYEE: ‘Bc DB-73 anes LATIONS ‘te sbr nt om ary ange, oDeL VESTN, ery nee: SOU ees word of ey Iran fering and aniguting dan SR Sathee Sse bed wore ep a dabase TH nay Solinsctinoninmacive nuoer Hone, embedded SOL abd Dyauate SOL cw ‘clos or apleain eocopmene Te fice abe ele in ay PLSQL tek hate puke check atte carne can openvpn he ren val of oe Icio’ te ncn nting oo nary ante andes in hs neg by ecg» cr Tes mow SQL sandal SQL} wh wl Deano ance BLOG (Diary gies) Peat dks ont tna oun creas at ase aa ncseasia esse Ecevcuanveaie tomate atten Soot eer eerie pesca Seeetin eerste eet aerhmnce cae heng one ane aes SELECT prise ee alse wer sence cat Ne Eecue cosines Faber earn sa asaian or raes cam be reieted wo difeeet subsets of dat. For exarape: _ Peete te er warren ‘eran see aes semebaes Se mae eee » Rescate ete me eae Sete enameeereca cei and advance columns berause this tcematioa is sate, oy, See ate emer ieee Scars noes Scot aeamnte nore Sa eo ‘che maar aye tog sere Aco cm be roa! os at ofan ee ate BeDe.74 aransskManaconcut srs ripe ZQL GRANT Command SL Gkant irr comme eats neues ru Spf forthe GRANT command Exeter Jo ne fone PUBLIC ole rane) iwitW GRANT OPTION) nme ce et O fe wl spore sea os ae eS oe RANT ep, en wet can ORANT SELLCT sb en ce Lt ae LYON & ii have SELECT privilege om rd wed rose scr or pigs on he da SELegT per on empeye or umeri sill we apy le SOL REVOKE Command a SOLENOKE command removes csc aces rights or vice © hes. {Te Sas rte REVORE nea is REVOKE vies rae OXaajes mare PROM for rae PUBLIC Yl same) or Reample: REVOKE SCLECT ON employee FROM wr Tis comming wil EVOKE s SELECT pinoge ox ensloyer tie fom eel hen you REVOKE SELECT prep eben awe, user tbe able o SELECT ds om hace sry However ithe war a cei SELECT privilege nhs {on more tn oe un, tebe can SELECT Yewy tht ble wl evaone Sas fede pemisnon ech You eamt REVOKE pees hy Wer tov ily gamed yy. wet shor neon te soni (Ginver ir twa Over aur 211, 2013, 2018) Shaft (ivout 2013] Sequian out er, 20771 Bera ln aur 213, 20171 Steger ‘Moos auesron ‘embedded SOL Those QUESTION. Bc 0B-75 Cy) gaceiy asf eae | sana | ronmaneueucanins “ate tb ator Que ange, SET ne gy mp om ip SUE deta reece hci ence cds Rosia temaneaan masts inerciermnmmmnemnnn ac et eeonea sence Sitios Sana Sars au again einstein proving eae fe atbane. nea thettpunce of GRANT snaREVORE conmanae? opel QUESTION, ‘Vie em saves econ by eight ae. Sone {hacen te were w ten fo guy end Wosenion whe he est Be oe “inne vile so cate Pema sce abet Of Se 3 view ‘Pos be md ever ved, eg he tf pemin nfas Be tet. Fe cumple hay «wb ens confers env inant, (Seve et he ene can ftom a sha be rune fa. You {Sr Ste tha nae of orn ne ile wth expo he ‘Sealy coke, AL nga OI ad Wee Mave fe same Ome, EON SELcCT persion ve ws the ae ee cer soe ne ‘he itr ng any esa eae By tinge teed panng mtorr Wem wer Rs 1 hee a be ied aa oe rome fs ele Fer ears Sc vi leva sly Hua dps Book tn tepnimatn beste pobre he fo es + Acosrembercoited oat fe sun ofa tte al, For example, fete view fat ana Be ro of be state Suto eal naires edu ben fama eine Ace cone ete tyrants he 9 tate able Acs a eed the roe al ln 9 me ano ase UNE For cate. ete een tt jar ey sao ane sn lies odie rane far oa sey hve wen Tis es dep nao a ec into a ro 5m nf eed tela of Sa we he, Ft . {hut ccs nly th serge ie of ech pe of bok. Acces he ned bt of wer fame eo sf ‘looeL aUESTIOn, Bepe- ‘uci singe on renga cl bo bles wie tei re {tthe ov et Sh om ve mes in 8s ows wll ot von Ta mo ong f ecg yo SEcters row wien Riv) nad Ra2 es SELECT “FROM RI NNER JOINR2 ON R b= 2.2 eld + Nate ole ‘ota ins cdo leat in het aes that ae these rae 5 ‘Senate quae oan NER [ODN or LEFT JOIN wn USING uo at ‘tamales tex in bah ee ‘SELECT * FROM RI NATURAL JOIN 2 Ye [Owe Sin Reus al he os fom RI een there no mache in 2, Wohnen ates (nH hr the slr lt be ow SELECT" PHOM RI LEFT [OUTER JOIN Rt ON Rl fd Rd 4, lee omer Sela Heures teow Ro even ere mache in RI ert no ace Tek! toh vl ol be shown a ‘SELECT "FHM RI RIGHT (OUTER]OIN R2ON Rll = Rts ‘+ FullOve doa Reus thse 8th ules ever reno aes non of ables I ‘eo maces nae oe us hess wile how a SELECT "FROM RI FULL [OUTERJJOW RZON RI l= sid >) Tae ea oa ne in tha se ey ofthe compara pets (let han at thes el, get Ban gener an ref At sy Cai fret i i 4 cdo WH cng het a th he aCe ne te 2G hae lr law sy a Suen nang “Saale "s "Wis pec se hewn who the elo egaty — i elled an pun 4 SELECT * FROM EMPLOYEE WHERE EXTRACT (YEAR FROM AGE {CURRENT DATE, JON DATE) > 10, ‘SELECT MAXISALARY), MI(SALARY) FROM EMPLOYEE, ‘Bc Dp-73, panaeaseansaceunsestStst Folens command 3 Gr en cond ad SBeerobe wen pode secs privcgs on te datas ae sys forthe GRANT command miro a se PUBLIC lene) easretanr cron me aeonce ate Oc 1 ninco su as si Eire pert tn sett tee a ao a oe eae eau ae Et rece Sg Suen ary tee on enone heer al wed wil hve SELECT peer sce tle scr; Ti command wat © is we ye Wt GRANT SORE Geran mews wer tes gh oF pve Hoe dae ST ya frie REVOKE eon EVOKE pierre ONcben ne FROW fate PUBLIC lane Leer eee wav ene Ue fom say When Jor REVOKE ENON t Srguon daca es be oe wil tbe love SL ECT Beetucase tyne Hover fe mer hs receed SELECT pease et Ser fam or ta ne en, ib con SELECT ec he al vere SBE fetes print mkt Yau crmt REVOKE pgs my oe ‘Panty pane yon ‘8. ite shor nos on he ong {Simmer jee ans Guero (wour aor, 2013, 2018) a ainta = SER Hai ee aaial ac oss usrauash MANAGEMENTS xs ose 2 roe vatyamtnncnit, SOS ee mein raat itn ay nc IN ey word SEaEIE emg ga ttt are Serevent ana ia ‘Te in icc bee ln adnan, Ax els, nn wit ln ‘sling a sy pra A Seimei oft ar nr at ours ony hoe ow emp ng ‘atpatoenston ante eneacon Nata Joe PRAT Tom i400 ope at crs a inc ice for ws bend ‘ie eommon coum fhe foes ange. Conon cle clans ‘iste he same uments, IARATORAL fon can bean NNERan a LEFT OUTER Joly ora RIOT OUTER fo esti s NER te {fe SELECT sane in wich he NATURAL JODY epeaan apps at 3b rar (nie et te ne i epee elommg sof ens {Eke col nthe ef) ubleht net omen column {tty col ath acon) le that at enmon et ‘A antelih quid by «bc rane (oe example, COUNTRIES) wil br expindl ‘reyes of ht le a sat ncomeon ela IE a cannon cola refceced na bug Gif by able mame the oi {teem po ote ak he ex Get) able tbe oi an NER ON or 8 TERT OUTER JOM. If hs RICHT OUTER JOM, angulifed rfenees 1 2 ‘enon cau poi be cl i De Second (ight we SYNTAX, ‘Talxgeton WATURAL {(LEPT ROME) [oUTHN aso IOON Tiger RTE is series of PLISQL sttenens oF code ta automa ani ‘onal id when sete nto place 0 tale inthe base Tey rors bul code and wed te flogging papers ret: el fom essing ved IALISOL bet esting fon or tare SL conan WIL exe et pdt, coruansumucaTONs nd te noel. Te wgger cane el eo i he ie ‘Bsmt or nsf ey ott seed ple ole Tage pro ‘Sere wa open he efi exes provid ty the gy pr Torcumae efi ge ba aca when sore emp int ‘ow ioe nd tiga ce teed da ai. (GRéareTucaeR TRIGGERNAME Sxscrena OR (UPDATE | INSERT DELETE) ASSQL Same ‘Cee gael at feroooes teen fons wheat tin (et mc os a) Steg & Wesco Tiger ‘Tae ied my othe wleon on Wich ya ceed Serpe 1 "Upte aunty ont or mare ble fanever & DMLDDL seme! is ued leon wich de rise + Higgs cin ue io entcecomrain For eg Any isevigdae Dele Rene me lowed es re on let af os + Tig on be wo pbs neon so bate eet subir. Dust eve ie Das rape amo smn 2 te Ie ict lgarcia. Matson + ERS sw eit, ci, ink, srl pe _daabese but wigaers are diBcult wo view. ‘ 1 Teape unde yisieToy eat ile rin be acd debasing ode, + lithe one lege te beh [shad tose ef fe te tne pe + SIRE doen il ii gee oa ew eto *+ Thar ey tne nth dubs fel up an isan ovread98 ‘Msn ni mals en some DE mbedses St eked $QL eas S0L seme en rile | “ et ho ng in ac) Te fading SCE BCDB. ae —_ peraseusccmacs To ‘thi ot 8d de Takes to eh ones. Cam ou ple tne otmton rk Sone bekt SOU? Cate aig king Fgh (pd fe 1 Neco knowl ates clu eats cope (FOR. AL) 4+ Teomachisk fms pec wi pda Inge, we havea Ap tin Programme see ars eles, ffm {bupats poportaly Ppumner ean andthe te Pog we ‘ew SOL ste bel propane ce wapenealy sued» hd of ‘tek OF couse tne ave tee SQu for sone mans, Ay bid hone nto be able to implemet ANY CONCEIVABLE ALCORITHO wing 3 € ro han ee dt vag SOL seas pepe 39 of 40 ‘moDEL QUESTION Inter Inepy congrats are exec by the spe. Fx example, one can pei th an nb aft reon wl ntact ves. Delran and examples ae ‘Greased we 16, Wat be th dutabane cursor? What fe te eternce boteoen cursor and tee? {tobe auEsToN Part ‘An object used 10 sorte ouput of «query fr rowshyrow procesing by the splice progams- Cones are contac ht snable De uit to mame 8 pie ‘emory re o ld x specie ssn fr sce a ne ee, Cros we ae 2 roc mom esi ses os row at time Adon. caro kep a of ich For isco being acese, wich allows frltracive racing othe ae 2 Pa ‘A tae is» oct (cls sepnen) that exec somately when same ‘ome evens cer ina wbviow oft East, ws cori cee sac ‘etm abs go eh he a ch can i ee nd wii «tage chat he decrement wold be ie he ‘There ope of he cre woul be ido tigger Win ger cae ‘elude anand a hc wa tee fot seted eager Ox age i comple al eras Ctl wie wg iti nh wage 1. Stereo fang ab Seen ‘ane (onum, a8 sony etom tin {Siow toma oat be span whois ltt ee cdr (008 aves7I0N {Finda cars cate in cies whore alepaeon “AMT has customers by serece crane rormanpumUCATION® ne minimus an maimed Yer on an 8 es ELECT en) FROM Care SELECT vk (van FROM Cr heel 2D nd 2109 eee Tg Yur Camu eae ea SETECT Ava ¥aan FROM Com at 08, ean ate SUM SQL ago fist tte sum of aes nx ouin lr SELB ih mony FROM Ca: ‘hu SuM woe 00,0 steel ave 20, aan te ears of a, ‘ere of Stated Quy Langage SQ st Gen oi (ty nas oc da fom earl dastre management ys ped ose eee th aan eG a silat Ii) he! to ese and dp edn an ube i so seo ext ve {ted roca faction a eae {MS swear spoon bey, rocliees an vies. te ane sone tale (wooet avestion, 1. cont atoning 0 acne nur 20298, 2071 ier. Cob raaeonTe MANAGER, SALARY, Comm CEPT Pero eowg guoreen he tain rt sa. stones) {ave monty tne act a ompoyoe (PF melded 8 10% sti bo I te ume employe ae average uly in EPA {line cuca mins attr payee each department Ii Ut te amor oe pays hare are an en pers 9 Ihe SPER ame to enor wwe ae tera ean wa STECTENAWE, SALERY, SALERY"03 POPULARPURLICATIONS ‘.Coralder th flowing schema: Boouare ty te) Cewrar-ne Baume, bores) ck no Scar Rarer se ol mbt, pub Ie tf plan, Be i Mr SS carne tone ad, laf Ferber toting groove 8) ted ecect suber one or opens 88, (tt star osu entered V7 Teeter ame a eine ye VP soya vavore nar rd eee vha vou tok on 16.48 Gira’ ecrro'o Box whore fot‘ pubaion wH¥2 wna te {Garp Snr I) rap om Bot where yp = 1985 1 the Ge om eo Ur Boron w where bane =a oe 20 Savin tod tard 9 wood no fishnet Une ar wha vb = “Hy "Secs fodien i section aires fom er Berow bre cad a= Berd noand Eos reas 1) ict Bok wre pad ~ 199 and le = Compe Des” BUT 215) 4. Wite and expuin GROUP BY, LE, DISTINCT, NER JOIN and UPDATE ‘Semana ln SEL Alo gle one example fore. our ie Gru? AF Semen ‘The GROUP BY some i sin contin with he aga Ft group erate yon or mo eatnes Example: Corie be CUSTOMERS al saving the flowing records i i tee | S| el [3 | Xauente | 33 | roca | 2300/00 | (ia) SER | eg) Lee | EUR | eee! {we ato ino tell ano of uly exh core, yet aly on ech ura, ea GROUP BY ary SQL> SELECT NAN, SUMSALARY] FR SELECT NAME SUMSALARY) FROM CUSTOMERS DATAMASEMASAGIMISESISIEN ‘inere Coneonas- enon « ordare.caus amt st 9 Po oan cata aan rt are ‘amma ai Tm la etn ponte eo oP egg Aner: SQL> set * om emp aes 2 oso employe mae Staal say me ‘ears mabe) islet * fom enpaye sry where ence; Sreecheowyes, Sten Tote {ogenect of enpoye) Sie Toit Menten then suey at lay, Becta 1 So ly tomo ‘2a sepa ton in SOL? Give emp hn ‘soe auesron ‘Te SOL sures nto ido ive isu nd masa vce fom col fs vas nacomao he verge of cla aes te sn coun munbef sad song a ech onion Lt 8 the be tmpeson SOL sep fee Tenens Woae "| Yer | CoBe ‘eon | ohir ‘t¢eX [om | Bk ed "es | som | we | eu t Fie Cows) 50 | Rod S20 The a comeiy we 90 eae Rin ie COUNT cue SEIECE COUNT 9 FROM Cos PER Color ~ eit There oan em? BC DBS arama. ancient noHS grow EMPDEPT WHERE MP DEFTHADEPTDEFT® ‘Grour ov berr« In SELECT ENAME SoM eu WHERE HREDATORS SELECT NAME ” SM EMP WHERE ENAMELKE M6 OR PNAME-LIRE"6S rwur ne, saa amptoyers wo workfr Hat Bark one, sat asren a cin ofeisnsion ofa employees WA peat erste 10008, mater ton sch emglyre of Sa (ameter ee (08D) Souetpetio | tes SR am. ciy fm employee ews w we w coma Mr Ween orem SgLeiprosin Seer tpn where eng. sne in (lect empsme fom works, were rmuy-tane= Fe Bar Corton analy > 160) Ne ee (0S) Mange (HO oie tn sta caeeetal AST) SGU sprcadon Skat tp nme fom wos whee lacy > all (let sey fom works where ‘Spar-nane "Smal Deak Coporion) Be pR-er pane MASAGEVNEs 1d pro te along et jamecen | 090 | 2ec0.09 | isoe.00 | 00.00 | taco 98 | 2° | pore 2 ele snarls wing wind Lae Sutera FSR aa wed comp le i tee ‘Tre eo wears el eae ce nen finan 0 ws Te pocntsgn ear aon ip ‘Recor acer Tesi car Be aed He cra sample nner be CUSTOMERS ances The vader pees * conbiations. tale avrg the fPO8i°E Te [rae | @ item | ie: [Sie | Boe || Shr | ies se Dae PS ia 1 siboo.08 | Faiowing ia cane, hich woud dpa ale reer tom CUSTOMERS tale ter SALARY sts wih 200: SQL> SeLECT « FROMCUSTOMERS WHERE SALARY LIKE 200% “Ts woul pode he flowing rest is [ane es ‘he SQL DISTINCT keyword ie wed in conuntin with SELECT sateen! © “Tissue all he det eons and eching eny unig resend el es POEULARPURLICATIONS (iy SatestCosome name From isk Where accouet_Type="Svings” Alga ote wna Bot) Cites icusomer name te ask haccoue, type] Sins") (6) Select Castomer ame rom Bask Wher lace-minfbaluncey ‘Algebra vsomer mea arcermibalanceX Bonk) Galea: {aoer var} Bok balance minal (0) Sk Sle Customer same, ance rom Bark Whee Cinomer nneLIKESKS —Algebradeastomer aie, hlancer inter sane IKE SW (Bank Catt {iCotemerumeafalacel te Bank A estomer nme] LIKE'S') {bein concept of aggregation Give wo examples where this conceot use fwour 2016) Eine of gpeeatn "Rr 0 perfoning sn cpeton on » uy of values gel 2 ‘at ale the ER mode ht etna express reationhips among the ‘oops overcome it mee aration ‘Rutan proces when te ttn Ree Co ety Weed a & ane ot and 15) be rl ‘hme domain elatona ell + Mmtolon rcs abitct ttes by allowing etonsip between esr: ‘ana State i700) 1+ Annan a spc pe of Asati. bets seid tnacr anche # cana an dara fo scarce company howe cao Sutin: S ‘Mordodscelgens State al your assump ons. “eour 2018) Be nat BC DB-46 «ar an ER lara fora rary management yt our 20 C=] nae: ‘9. Find out th cana Kays for ne oioming ation rwour 2017, Risener -reto.ec 0,6-c.0-A) wes (Hat) SHAGICD, ,BC=D.E -C.D—A (Ope oHDAR ABD {HRs DFARE nae BCD, EC, (iy ome. as Ee HED)e HHLUCD A. ae BC—D.D A setae fn me wh ve: Anon, Hat Suman ein tat eee, Sea nr core ‘earepton, Speciation, Generalization: [Referte Question Na 40f Short Answer Type Questions. Derived Atrio: ‘ratio bed ‘Tis ound ry CR dng For example ora Goorcacenbedeved or he ris Be pps popes es we aero Cenrstation cn tosomg pei in which = Jia cme | [4 << sso tach hes - i ~ a iewacarcistsrea rae] | os <> i BC OHS! ee : wc pBst Be DE s6 Por aneuaLATNS uaranasetssuuanebsros so | meee | age | asaess | snine | SEE TTT 1 vin doe nt the ey memory space July nom do you cena an ere fascen | 32] mawintna | 3080-00 | aaa Vw? soe. auestion LIME | 2 [oma | astoc | Ame rgran vera or marie A vi can ao cidade ‘Asie date tom he ues on whch Od Pout tnd was de bce tin aie ene TAPER oe oe us, pes cre by Reece ine Ue All pean ares ons vw scaly ote We Shae ne cme ain io be ied hat ae a = trp one rnin fr gen at tro spear fra ena 9 of Behe grove an ein eek of ale sei by rearing acm Ee ee ee aera beer Meet at esc oft abe Tey ae ae a como aod TeniRibeneeay tence ak ee gr aad aly Tee Fe ee Sa ihe ano espinal ery fe E24 celts Fran cosrowens: ety set (0.00 see) s amalecctibere sitet oF Rt eign ey eiecing Kner i gue a ze (fey rah mabe ple ie aa) Sie a sect Fojeiemans oie farsa eae fecal egy conn uy er ‘ine aon ef or oy Sma oan et ae woke” Dana cont spit ht va fh aes mb nn sb aes? ro SES ‘from the devnan of the respective atribute, 7 (pid, fname, loatel Key Constraint A weg csitai aig bey coma s+ re ht fbis pica ae moot mo cunnei'sbk,Unge ond pay heat View can be tied to mmipulte a, The wpe conétons of on instile ant ‘otic news ne mioboes= ‘Pices cottons le 5 YeTROERY ed hae he ete inary ey clus anda he at {olka te welded ne ew UPDATE operations om the pcs car be mde wh the ip af iow even thE ‘mina carat ea cmb of leo te [rie fy contrarian on ce clu ino eth ati ew (oveL question) ASS my ea aul hin eat doa alexi seta ater! fom oe ort ude tse tle Tn oer na cess ict Sepa th vow Seas ein ee heed Growth and raccng of Sate thei at eee a views, Ths he view can at: ‘Pete namos cic ta oploywe working forthe Resse’ department [youn an rome of omlayee reach soared 1 Depa te eames emploens In Soparoentmamber 2 ‘nbd a names of employes we have teva hea nary rab See empiayn en stey rer Sm A700 ay See mt. oxy Fm Cu DERE te ep « DEPT Depa and DEPT Depa = “Reseach: 1 See coust(Emphane}, Dep frm EMP, DEPT _roupbyDepNn) where ENP. Depo» DEPT Depa, Set pene fom EUP OPT Were a? Depise~ OPT DepNe nd DET. Deine = 20 1 Selest Sa fom EMP where Sal NOT 1Natkct max fra EMP: 1) Sle Epa re EMP ‘Where a> (Set mae) rom EU where CEDT Dep = 0 (xo Sie SL racy = es omeron er fore em ee aren BeDB-60 acai aaa ihecuakt om © cog aI Te ‘Ser ide gow pore pope 0 Pewee ‘Siig ind pogumne not ens sau SE a amano oot URS) Dial a SANE te ens recite cote (lover. avESTION) 14 what are tne ecovery implcton of, yidting bre othe dattare a COMMIT? 2 fear Saat wig butler the aabace porto COMMIT? Ries dub wiht REDO logging. Never fre the ber fm psi ing pore conm ) A vant side when anya allowing tins cer (Ui bios CONMTTROLLBACK command whow (SAVEPOINT] opin Cosmin makes th change pemanan es sible to eh wes oni afer commis ceed 2 When ser ses & DOL ctmmand tke; CREATE, DROP, RENAME. of ALIER The atebue tc a imc COMM stitenent before and oer (Sep DOL seta f the cere tanestin cots DML sere. hn Fs commis te nseton a then rs ard commis the DDL. Same a ow, sinostee tanec 3. Aplcans shold aay expicily commit or undo vanacons. before ipevrom teninuin. Ae poces ermnaes sino, casing the {Frc a be imply alle back sing mead seed in the anactin abe dhe end gent hus afar» arsine ware can view the clagges A commit is fst peru soul of te aneton sae ante sped of earinit does no change shih oh maid eta a he anaron The legit prof he cori 's {8s pips dik 10 poramned by vedo baer eg LOWR in onele- Homever, the rote me spe LGW sede Bras thas Been incrementally writing he tof lg rn eb ower wer vation cot ‘ner, aplision develope cam specify that reo be wien asynchronously 0 a aac sed ot fr edo ob on ik and ca ar frm the COMMIT al iesely a fr ha especie sa eve 15, Explain DOL, OWL and ct. mone! QUESTION) Fru hey coun sn NOT NULL coleme) ar enced fon ewes dean, Keim operon amps hoe view Taper Int View sleer( 1 CEST, 8000; Opel rowers ‘Army opon tented Aro view pte Vise SET ewes IT hav adem Date ro Ups 9. consider the ftowing relational chem: Drove. auesrony Bc pB-s9 DAsaRASRMASAGESENT LEM, turin he ame ae shad rer re See expe nares Sos For eampl e Wes aire eg ee (nce sar agp nannge SELECT ULL seins may cron saree Rc 1 Ne iee Revie gore MULL aus eel see oc as teas fash 299 eos ‘Poco enclue yng AV felon map eer ‘1. coraidr# PL! SOL sate diay ie amlore HLS athoyechib cUnsOROR LoOF statemet. MODEL QUESTION, ior Soe is sete * hun le tnt be ‘na ee whe onan =. on {Reus inetemprcenneaia ferrin icp ‘eo pt idem rece bse fader e {2 wate ctees beta Proce Oo Nom esa OM " MODEL QUESTION) segoncrme fom emp ote BY 12a er of fon Sore in Dabs {ection infra te date 1 Celsionfinoration fom ie daabse 1 pling earn sored the dashe “Types of Dat Manipatton Language (OML) Procedural DM 1 Desara OMI (Nor Procedural DML) Procedural ML: PreeeSTT Da maniguaton aging se Das 0 specify wit data re ee how wee Decientve DML (on Predera DML): Pgelve ais ampanibe ngage wer thot petyig tow 1 git eames SQL (Seated Quay Langues) ‘Fiimtec art cterences between Embedded SL end Dyeamie SQL? TOOK QUESTION, sto spy wht dats ae eed appt SS STABAse ‘Date Definition Language (DDL) san teen Tome eee, wan sci a he ir Cre, eeu te, sername on fet pears tt Ear ome uo a a ta aan, 2 a Os ale eta. Tk le ars fe SSR ear moaed ine ea ae EW he ier achena TH s Language: The SD is td 1 sei om Te Serge etn goes cn ope yay ne of te ees en Dok ea soci Ener} “mae 2 Sorat 1 pin cece sah 2 Seat cee emeatitae igerstncannirett ce Pipes deetincic mance {Sie foie eee i Eaear alia eee a Fecha tate eee ee ei at called h thee ee sarl DML: which rv 9 wr to specify what data are needed wows specising ow tog ition. Re elowingscemens are used fr dts mai SELECT i wedto irve daa om the ble UPDATE te ceo mediy he dia inthe tae DELETE is wel to fete one ave records fm elton INSERT i usd senate tpl ita specifi rele. yn begig ‘ata Contra Language DCL) DI sed to ono he i poplin ebls srs to sect Clog of wanectows Th dees wih Oe asorion, secss rahs, (seve) ee teva Ibe folowing sate ae wedto col he dine 28 bse Recovery and Concurrency + COMMIT 2 ROLLBACK. scons Bc DB-e ‘8C Dest oeg.an PUBLICATIONS inary ey fig hes eerie {ye snot pots on te follow: waar 20161 soensnes pares See coe 1 espe 1 opi corns how 2 Ma est te contin ha pies seston s ran : re tena wont ree mba el ie : Se pati a nop ton ety se MIP Bian ar kt on yas A and B. There ae fur psi alsin is ae nan iy As cleo ox oe et i a Brad watt ne ety i6 A. sy nity i A i rite ary suber of ei in Bb ie oat mont oe ey nan eit a ei cr det hat work 8 arnt on | Maryn in A slated 0 ot Bb anti Bineiecbe any aunber of eis ia A. 4 Masy-toanany=an ei is Ain eld to any numberof ets in B, bu iy in Bilt to any momber feces in A. BcDBs2 su 1. eh ae SOL commando ramon ro fom a able? Tour ze, 207,201,205, 2047, s)REMOvE — w)OELETE TRUNCATE elallot thee nen) 2. neh inthe commandin SOL te change ada in taie? [WET 2008, 209) Shoisenr ‘)aRoWee ‘APPEND 3. wen tanquage has cecenty became ine gefacta sanded for interfacing paren sty ee ae a a “chp ee Son ts «re eee wae SSE an saar Tey car asrsee Sears Bey ioe ae ana, Serena ties «east a 4) revisiting the file structure wn " ee eee “oman Ze Momrigay acemer ee me Be pest 1 Styx on nate. (8UT 200) span aaron operation in rile ssh with aqui example "wou 2005, ‘Nhs on is jpn semen tat compas the common calanas of bth abe with {heh thr One bald heck whee eae css xin fh abs before Shing {rata joi Nanos ny ease posi i eles me aed ee revare. fate fin te nec opt clare nae foo“ anna ‘same name columas in wo different tables, * " Fortsarple "twa 0080L> selec pn rn dest sn ep 2 Wie a query to fin a customers who do have «lean the bak, bit 60 not fovea acount the ban 7 ‘Borrower sere name, ea.) ‘eanreneh-nemeloan- socom ‘ccaunt ranch name zesunt-ne, balance) ttentotcoora,nemecaan (wut 2071 Set caomer se fom barower where lee. in (tet oun fo le) and leanao sco or wir bach, ume! nib a en 2. ata eso Dabs Language? Exp te eu 208), Bie gues we pod pc Foden sll Apt sl “corresponding implementation is SQL. = 4 span eda lnguages wit SL conmind (wu 2010) Bectne duatase 9 DMS ast hve a pps muer of wer grape meno previo, he unc indicates ht upper cach ser pou. etd yh DBA ard abs sign define «the conceptual and intemal schemas. me = “ DL cond CREATE, ALTER DROP Ayers wb here a seprton between he conc an ntl seas, ssf th concen seems and SDL, strage defile language ‘elo pce teint ishewe a siege ates 2 et ane De Qo BC DB-SS ‘DALAM SLMANAGLAINESSIEN 4. veh of he folowing teyword le vd in SOL 10 timiote dupe rw om Teeny mu wour 2013) ng OUeucare osstiner Sona ‘Boe ofthese Anoner ame. ctmmand rere the numberof ows deleted, VOUT 273) i ieweate "Ey Btate Thor ‘Hone of aoe answer (©) 40, Wich of the folloning clans tuned 0 afore a condtion 9n 8 SG. Hitter coming. prep bY clue? "eau 203,547) ‘Sane raven exorterty “alone of thawe anemer'o) ‘1. mien ete fotowing ent an agaregete function? wou 2010) sso ‘in ‘Max sjormnet 12. maf rom of CODASEL eur 20191 {3 orvlie Data Sy Language canines or at Sy targnge ) Gohelon on Oat Seton Langunge Benet tee ane names) 1. nate the delet format of data Oras? ear 20%61 Dusen Bh demayy en Snore a baee "4 nich of te ftlowing aggregate fuetons work wth character? (wou 20161 a) none of ane ymax yea eon answered) ‘out ote) 35 cn none otivese byensys even Aaemer Bc pes DATARS MASSE ETE for ameter artes, VOL vew define engages eo geil {be sur sew tnd the apne he ener chane But in mest DBS [DDL wd ospen'y ta i emepual shen ciara se ‘Onc the eras corded he nshase poplaed win dm wer eed ange the dassaee" Maipltors cose fms wsson aeleuon ond ‘refesson "The DBNS roids cperions ring te Div data masipeltionEngseg. Dhl eonmends UPDATE. DELETE, NSERT {most DBMS de VDL, DML end be OML ae ot conse spre anna, twa compaicndve Incyte Inngnge fr contin schon efition vien ‘Eition and ea aniston, Strnge dein shop apr 2 reste the fectmae, tual dove byte DBA sa ‘eccampe acpi icing SQL wich eens VDL-DDL, DML ‘lisse frconsae peeing ce DL comltngmge) commande: COMMIT ROLLBACK. ‘Ua gery inpugs comands: SELECT 4 Let R= (A.C) and at and 2 both be ration on schema R. Give an ‘Shoreation in SOL aris aqunalans te enh oth fllieg aera (WUT 201] ‘prure Wan whee Ba Tatelete 2) Anwar: SELECT *FROM 71 UNION. SELECT “FROM? SELECT * FROM» NTERSECT SELECT "FROM? In the SOL the clus of2 have foe inthe sme one at thee of ‘S)SELECT * FROM? EXCEPT SELECT *FROM?? laste SQL the clans of? hve toe in the same ore show of iN)SELECT * PROMI FULL [OUTER JOIN el B=r2 6. iterate tatwoon the llowiog: 8) alee ae truncate apron 2} Roerentalntngrty ad ety integrity 1), Dae aed te remove rows from table TRUNCATE isused oie complete ate an exiting able, Fer crample: | ame rout 2012, 2016) ‘WBUT 2043) ae Tear any Bc B30 Be pp. PonuaReusLicaTONs SERRE Traoiog Grove ota hus conte you to teat concpt! mode busing the Et Aaatonep dat mds! fos Sane a oh me alee undurains ove advincia technology Coreegettniegaarter {Gren efomatcn, grew an &R saga or Tring Sree ee Sng meen Sngesod 2 mlontd Be ea at Answer: mere Ream = Ls i | 2 Qe K ' Jz =] | I a SS pe eta om Set se ins ane at i Mana Te rhs» ue ae pi tn Fr a anon ny have male at utes: The sib pls which ae sed ssi! Sons se ae fa pen bl ser se estate vcs wich fe at 2 a i irscme ar red see Derived Anbu: . at ce yeas oh 4:9) co a samo ERD oe {22m Aggonen wn ence Sho sangaion Pe eomele te aii on war eg Se seh te En apa wth ation sate properties Rains Model PR mci dint om aati eli 5 Gntrel atts aso eins Baca etic rere dle es rar 20e, 2010) ‘Seybold oy mae tan on gape A 5 2 star moro than ome department a Sper GO gaa "Teper may sapy mer Gan ove sem Every ‘opty ani one nopier Ha tine. Make Sora fore celta ered Tedeuing mary hey ané show one en at at Be Dna DATABASE MANAGIMESESSLERL fra ta bop Nan ona A Si rest sth Sey wm score ye rant tas na Dewonen Sonera tu RX tow eRsian sen catty orig pon 4 Ponte Stes estar ay eae ny Se DAs seartetc sans ge Es adoteanptamet enn ese eye Ret ys. BUT) —++ —+< >) = a po a (Cer Ht

You might also like