0% found this document useful (0 votes)
2 views35 pages

Module 2

The document discusses various aspects of a data model related to student information, including attributes, relationships, and constraints. It emphasizes the importance of valid data entries and the structure of tuples within the database. Additionally, it mentions the role of NULL values and the significance of primary keys in maintaining data integrity.

Uploaded by

vvce24cse0414
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)
2 views35 pages

Module 2

The document discusses various aspects of a data model related to student information, including attributes, relationships, and constraints. It emphasizes the importance of valid data entries and the structure of tuples within the database. Additionally, it mentions the role of NULL values and the significance of primary keys in maintaining data integrity.

Uploaded by

vvce24cse0414
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
er Baul? " | The Qstioual Data Mada aud ‘Rsheual Detibaes Couche gi stil a uentor ¥ The SUlTional medal suport the doiaoaae ao a Aellactiou 4 > sihectious , ashen exch swlotious Xuamblin Odable Q value, de sie} ams satus, o Hod fie sarside. + Tea Lolind O Hot Jie Jooronne, ork secoid doo a sump Kmson eA ods mtu. ¥ The able nome dud wlumn Kamer dhe muauisg Of the valtire aw gosh HOD. 2 Tn nina) stehatiounl Modal darmbsshogy ico fs ou offuibut aud dobl te called o stebodTign - ae 5 JW ipge. Geolurnn ta sapwneactid toy, a, oman of portiole. values: ae ctormmon Mrudtand Bf Ppepying , apa abs oun ata. Spe yom aston dat setine PNG 2 Be de aloo saxjad 49 opty esr fe He oe a Sekayprstinng Mo wha phous nurtbona Valid dan the ( Yoon paaus-cuebe he ac * ee Kavitha DN, Asst. Prof., CS&E, VVCE Scanned with CamScanner 2) Social tanty _rurnbun( 550! Tw ne 4 valid. Use -hignr Sa NO Sty Nuumlou ; bu sok Romer (09) Nogren © Thevatt ef whosactin ASH? PG ET Y p 7 “Meaple var & & pid godt, Pu, ) fog pin ansgn GOO) pit) Pub. taste cwungi} Bode mek %& ’ (W) Aeadumnten Spomsnie Wiest 4 aa wap pate ern, (9 Rasa erases OY MANETS pudvar *CS?, SECON’, aus ‘PHys” * hine: ad Jogial dinntgiaws of Semel * ‘ % fe tciiacthnbe punpouss, Se do waren ze Pe Neg Gomaduve Sas Sume of doko FApee os fora that cvs, Pasi by Dos (bush on abaiug, Sat bosteoss) Favegr ss Se for sha. domaie. Uni Th ee ae fue cnn 0 thouo.t, chin} A a ciavdiga pn pathd 30d cumaris (dacimol digit aud dhe It “O Walid alephour ames Code. QR Rlodioual adwra R, devetad baf(Pss Rasesefin Jaomade Pf Sroken vowra, % aud 0 Sisk f abla, 4, Ainjs++- Pres Bail Adhere. Je Masd for dsoibiug lo HEATON. Rin Colled toa thes. 3. Aibttteats, Ot rao Be corme Gade stake playa by ners, devai D in soled ge demas Q A od as daustad. by dom[An)- Gr Ptah pra. Perennl aunty mrigtae, . Jriawe ABC?» Ree 29 _ saan } Lou, Waar. 5. Rebatiton'- A statcKigu (Or saholiay Stats) 4g She. reoKlou, RUA Pa, + An), aso deustid toy oR) sas o, asi of n-huplee 2 ym 4 ; ee Pty amo 4 tha DIN, Asst. Prof, CS&E, VVCE | Scanned with CamScanner a Tre BRED OND) V8 elation Go ts umbts a oo to ration oduma. sutton Y dique awe, iwhte sitown Injpimation about undvenidiy a dudes, ureuld Conta. ower eosibloriTlre Sooublinsg nel alias om {ellount STUDENT (Nome) sn, Hema, -phour, Pddran , Oyephour, Ray, Guen) Ute fina dota ype of nde attitudes the dixiuibion do eemdtivman potion 07 t STUDENT (ow'trtuiua y S5n: efotiag y Hama snout obaoug y Rédaim tcbing 5 OfgeProus mg ee bEpne\) 65N Vonw-phouw — GPA B05-16-23Y [ (era) B43- VLG ad NULL, 32h 2381-62-12 | (gia BF5-4k UOd, 125, Kivosy Rend, NULL \& [289 aa--2220 [| NULL Bus?, Elgin Rood (aya)-44e-2s3] 25 [3-53 5 GaA-DD AOD |W SFE TET pEsylork Love (gra)tug-Geqn | 22 a 3:25 S TUE boa Gh ws [LANAI 8UG) [AIH Radeurlona] NULL W3 5 Figuas S-4r The etait oud Spite QO sedation STUDENT. a Complute selott sual) ockuma would oso aperifay dhe diomai aan. vadtbade l cousatink 6: Rashid Daten sstadtion Sh gees ect ¥. Coraiuslifiy at 5 stalatuon Sankoute, in re quarlan. eq Tas eos ae on quid gondinality Jo 3. Riotpual pilav! Tyo a (alaction q achumon for He Seulahiows au the dateboot - rulTicodial dotoloure So pikimadue ghe dokabors athena. Qs Drakes Riv iwahnnite, 8 o> Scanned with CamScanner ON Ste Chorataniatien of Raladtiows Dat tea aaa ee A sulohon ae a ast ¢ dup} hoy “hove ou padiulan oct owe do the Obie 4 enc set hn oad 1 Kapha ea HUSHO dy 7 Baa 1A PUL a, rego ie pn a yey aad ay seay Hel ru seroda, Tor 4} ) Wer ned Agatt sueoicn 43: 3 sa cones a orwlation Alapoygd J 0. tector Orde. © Oduye satan Te ot Bas Dt ashe A e Bape dn oul oust Mam Whi, dha Oring a, Sau. ov chaphe « aud Wreiee @ attloitys iu a nelatow ACrenra Ja Lenportaus . * Te ule. attain aud Sha vlanadn rit aha "do lel, Ge the Counporduue bli ckbtaulie and. volute 2 Mointeined. * An obbninetine definition G-oisulettion wow le guar» St Te ota, agua ae Cty, Oud orutation fale (RQ) 301 finibi oat Y Mappiugs Helbas tay atm, uo toch Taple bi ino moppurg fom® to D, aud ‘Dito 0 uurkon @ athe, cdbakudb, deren; hey Dz deml@))U dam(A\u-- -URdom( Fin). Tn atin dapivdtinn 2LA] rat ton ua demlay) fou SETS 9 fe Both Mapping biti 8orKoeh mopping i.e called otupl.. ¥ The Odaing ¢ tous do cot Sepedauct, bemuae de, aistoute | Names Ofpeorn with, Bo Values Gr b= <(Name j David) , (SSN 5422-1172820), (Haru phon, Nuit) ,(RGE 33°)” (i GPA , 3-53) > 4 = <(Pgey 35), (Henna phous | NLL}; (NamasDevid), (aPA,3-53), (ssn, 22-11-2320) Scanned with CamScanner 5 gin tee atample, The Tuyo Siuplrs Ors Sderot, soho the Pde Y qdtaioutity Oud Louse Jo ast fst 4 webthon dafinition potLitlor a rome ond value one iuseluclad dopethes dn TARE, re es full wag dake orcoae dhe dincripiion ® pwede (oatalloun nome) 39 Rneludlad ee 4. Wee? cbpmit volues that Jo, at do wot 4 Gath valu tao. Saple, cle ov : Gempeids ood trultanbad titan’ ou a8. OA +t Tramenodsh sin iraStnts tallad au. fob eins. ORE cf ae NULL Values one aed ko Aupwronnt Soe" vou Tray be sudkensun vem NOt oopply to THRE tS treed eh ng 0 Gulaiction eThe sulatton, acura. fo SO ea Fy tthe STUDENT oalsttion Qf figure Sod: on. Be eee cy en No. Sen naa Ha Pada sP 2 A path diple an Se alain cease Hoan. toe Entanpitad oo 0482 ° qi tea 2 gustouee Y du arardiow : ei aap tpg, Spee te fea Sha HS, SOON > an POC, Sn 2 BoS-ig-2ay Age 49 < ecralptrou. athuma, we 00 0 pucizoile’y athe prudieadee 0” Binees DS" 1 a br ie STUDENT (Naw, S51 +=) as ucaber foe A caatiou, STUDENT Fags 4+ Dn ovmmplion tabla athe cloaad used anaurmption atstin Set. Jha euly doauefacta dua dhe otehusoud: dhe theot puoeut ustthon the anburnion (atete) 9) the saloRsnls), Any Bhar Combinakinr Gf veluao maken de puditall falar. Kavitha D N, Asst. Prof., CS&E, VVCE Scanned with CamScanner Le lekan iu, dauston Kepler esvenr otto indie, . — Khe fotut the tua ae Y RUDENT (Nome, 35h += HH buy bo che, stwlatinn chun ee R 6 Fn attaibuts "A toe he qualified wwidhy re Peso wohigh Gf loalougn ay ising Let “TW do Waco the A A weduple & de cotalation Eee a“ who Vide die value torrcapouding i The Iplouiag eshiow Sep"ta Lomporand Youn G Tapio’ Rath dLprjaud tA cep 2 dog, Vella Ut Sut for attitude ® Bathe 4[Ay, Qe hy Jud $5 (80) Bao, +2 f1,) eoRML FL Bro. A 0 0, Liat a attitoutte from, seahee asta ig st i oy ado Ni, > peor dk eosapoudng dp the cbbilauti, Oped Suu the Sut. : Gi tuple t=<'ABC’, bagp-1g-282u! NULLA, 3:25 for selon au figure 947 we rave t[Name: , ud | « + +(s0n, Gening) 2d'3g2-16-232u! *3.25% (VP, gajistad oy to Nas Vers odiwloute STUPENT Kavitha D N, Asst. Prof., CS&E, VVCE Scanned with CamScanner a ii) Ou Doldlore Lou lon diy 4 2 ooo ites qtaally udp Ys croit “etagpsan’ j. Sead I Mea Rose Couette AUN Racal Coustroluuts that OL Inhorout du the dota modal. 2 bnsall\\ eye 2 Sekymecbaasd Rouabiciutie ot aaplicit eowstiaiuts & Coudtiatudy tat fou he directly Reprod tu rehomon o the date mec fy oa Oped hiaiug Shaw vx dhe DDL. a. gestae bases akin Coup Oy sn str Countaiuts chor tonnst Jor dit tapherasd cur te odnumae a Bu dots modal cud boucs must expand aud expusd toy The, opplicatiion prsgtane or tu come Sth wry . Te Athena Jposed Lounbiatidle iuttide demain touddatnt , Key ppuolets; Lonarotnts on NULLA, Uittity Letegilhy touddotute, Fit Dora Cousot : np the value ef sacle roan ty te wh ar a WL Vossen See Koy tousbotrts and Coustratila on TOVe warr—™ F suistow XO Rawadtou info. 08 @ Hplerjoud anshctuglire “Beane % R “Trds mvasse NO ian Suplen toss howe corms ornaiudhion ¢f value fr Wh “har vatbatlodin « ‘ ottutbutis of sulation athuwa R sot the non eae apa aaucaon AR vo acthrtlutt, . S: Prat Aas lgrsDbafln! ses for true ee [Link] of adit Wn codlack cuporkeys of ito ouaktou. Scanned with CamScanner FoR ee an rae aa Se A we? ‘4 upuntraiutt Shot Vo tip ety A 8 sow et De, Come Vel, so any ¥ q . eupuiay auth tak, Hf we ase, x a sei rg varied ak of abit, foils ty be 0 Oupettey: * f nak ee mle erste MR Taso diuckiuct Jun tate, S| swollen : a crag’ iat cae 2a Sty Teds Lut qyetin | paspruty valoo appliae dh a. PAE L En hie kept statins Hoe eck © Trin Heninimod raspy. ina ahh sneld- ald. “Tes fo eteimnlity, paspedy gua poses efioval Joc apy * Voute, [Link] So 0. conpaney (eat UL HED * Coustidas Kuy' fh selodtion acbars a Ng ae age A Te Jhon aqyuarnt? Kaye Thee se one gare valor Ore Lard sto 7 ee Ju dhe, Sik in inna ae ms Bm para, get t sn ari sain a Ore Uno % Lo egomple | dhe CAR sehotion ai Liquis 5-4 hao thon cordial tou9! Leomae- no and Ergun atrio 0. ‘han ale Sone ST eae a bus So Joscome, primary Key to nomeshat 2b wo atin tb ue © lay ny uit, cg atte Drmalt rurmlor of atbiloutee. 3 Te othe taididads Kup aut dislyratidan wuinpie ap ood Qu not sdlubined. Kavitha D.N, Asst. Prof., CS&E, VVCE Scanned with CamScanner Eng tus-oedbal wo Vake, eit on ACqaTR ta Yon ida WPBWG] BUSICR Oidamaks = mode | Cutlans | 0 ¢ Wayr faa | ep 4 Reese} Upedeses |Z. Tas 5 aA. u gu FU? The CAR subatton, st nite tr ) Ad. tan waudidate eyo? Lien 0 oud 4 NOLL Nabuee'- noth toucblatidie Sul atilain a Waluyn Or O ow nck pumikted « ar R 2pey STUDENT tuple Muvst rave a valid, NOU-NULL valu. kor Dame aktwak , Shu Nome 4 STUDENT Go temdtiatned, ‘ip be NOT NULL- pecker ashatho NUU- % Vy oy Yast Brot zach ate Asad) aedhinkey athe Iettagly sehakiow akelee DO =A Mase QA & avd pur Yror He 3 selection ‘ouabain opuipiad’ Su SC. i 6:5 phous & sulaioud) dababase Athumo, hot suse toll LOCATIONS, PROTECT) *@ CRMPANN = LEMmeLovee DEPARTMENT, OCT sore seadafion ahem joke WORKS ON REDEPENDENT qs | Ayudsiliuad attiloute eparnenty de Purnony Kony x Figure 5 Arous 9 weattoush dekskaee Boe eowrpouding 5 (Ban COMPANY phe. ; EMPLOYEE eae Fa aa nian |e ep DEPARTMENT DEPT LOCATION Kavitha D N, Asst. Prof., CS&E, VVCE Scanned with CamScanner PRoIEt $: Schon dtogtarn |e. Poll ign? Ploxokinu. Bean suiotienas datshn, Woess-on fetes DEPENDENT EMPLOYEE eon a | Salou | fae ln, ) Frame |Lname | $0 ey setae eT 30000) | ae Tage tel | ah Houdon TE 5 |e | Tan T Sgn |\2auscte eee | ide wgn0d | Be | | ay (TX Fut] Woug [S00ustany [rere pice ee | ; ho fRorranh {Kadahna [i2pei2d\ [1980-01-08 | 8605 oe Dept_LOCATIoN PARTMENT. Drame Drain tiga ssm {Wig -Siae dod, Reneorh 5 [assusseq] az- O6- 1S Raminiatrdied 2 [9846503] 2000 - WN BN Pesdaytin [7 esescyall pony 01-08 i Heruytan wioexs-on are oat), Ean Eno Ss bay ROTECT paurete | 3 | aes f aaustea [2 | +S rausete | 2 10: Wi234n31 | 40 234231 | aD B33UytBV | 4 DEPENDENT ESsw Depeudeut-name qeaysee | Alice F [seen Yeausete | Eto ANCE rot at Sou M [2010-404 T Ui2323} Fone FF pasao-orei Scanned with CamScanner ry sy Dechabt i gam Boy Say Rejpucton Tetqy on Foutgn haups- ra aD Ctoudualulb sakatiin the no pa ue ee be Te He padmauiy Kay Vole to Jad to t gadiwiduod plan Su a salocTiou- deity Yay Loustoalusts aud axiy Intiiy dhiosdisiiéaaiepets + Pojpoustist Tntagidy Lounbint So aputhad Debio tio “isbn? pu nt arnnoug Sagas ikon ation. *rReLowitiol i toupttaind clodts tnok ocbuple Su due Stlotion Soot 4 oust swhottiou musk Super ds out anieting Tope x MPLHEE % hu dapat : * Tigoue tide qusat made “Drdnvalias oy orate Ss DERRTMENT veeloriion | touciout boiwen odbulio PK 3» * Kot 4 i calc aA, ole tha, Boma domaiul) 0 pe etitotin ? ti ‘ Ry cr cand. 2 SER soutin OK 9 RBs the atbilouter LS R. ; . ec 2 by unto Be Sa octagon A se a(Re) aiBaer apa value PK fon ner. teas wo NULL: Ty dhe far. Com, ALPE, ousauur tee 3t2.[Re JH pial sha gid ee yO B to the, 2. tgle ts Mypase REE RE tape se Hin dapiiou Rag eolad si saletoas od 2 Sh fe Se dO tists ai valde i wat Ypres Rt, Re se Gadd od A912: Kavitha DIN! Asst. Prof., CS&E, VVCE Scanned with CamScanner —~ * ial & Ksuntioiude ypieolly Over from Du cules. Leen supurettid bythe *Udiiu rOkeuns, | # OQ egy Ty fiqus. 56, uw EMPLONEE setcttions athe attulouts Diy thurs Jo du. apart, foranhise ou onpogs: 88} Tate Dag tn duatqnatia ds be frien Key EAPLONES seprrcieg The DEPARTMENT srelotidu- B Rebuseitto’ ducigutiy eoustraiue faye toe dingomenaioatly Aleta doy drasing a Abrertasd 0x6 4pom fogs foutapn ‘ey fo ee vealotiou dk sepaneer We assovohaad eray Pobre Pierouy Jeo) EMPLOYEE DEPENDENT [Ess [akan fee Futon) | Reypanbad rcteorThy couctiainin Aiapoyed ou Cemern'| Gigi 5:42 “gaa subatipual dototnae ckuvo. 4 Waaasidanebtions oe att * DDL aah, opestye the alautorte dynes e| Coustaatat, 0 : we Tn SQL, CRERTE 7 ie hast SAL POLathour aha dap” patra bey untgntny NOTNULL ASTD, & aysuscti antag ky cud itn Cour Scanned with CamScanner ) os Cn Sipe 9 (ouatron de ee eine Tditeeldat Quval Coustiatuts, its OL ee to petfd aud cutoieed by Witt day, a ec aiua lt agidee Bad ty tec areploytes Aupevtaor aud masimume Molo bourse au Onployer eon WOU OH aL puieetr pu uoeak de 56. "eon Sac mil gc 3 ko pablo aud aapdatio. A Thay oa Mout onic puolioun dat tus rang dhestate ¢latiow 4 , dotahase? Tost Sse and Uplate OEY) 4 They, Susu “hud dod, dalida. old. dado, 0 modipy etistnagrdetn. seords surpedively a Tygon! do ded Sulaus OL Ok OLE nay Taphes ba OL seen * Dalek Sn droid ho Bult, Taplin, * * tet) Lp eae ae nore aftuililin Se eS a Trawet Sevan uid Ws bce wee “Bhat Jarty be Meanstad tate 0 slain ' tountainit + 1. Domo tousrodite tton be Visledad 8 ees br Se des wt appeadcii tha, covsnpoucdiog dewalu °% Se hy doo. Se ig tt “pple ik de salatiout’ sR). ! 3. Eto ota bead A 24 ft 9 plang koh os tty NOLL * Kavitha DN, Asst. Prof., CS&E, VVCE Scanned with CamScanner a SeXanuites & tauve dow septadadl A Btn MMe Stes foreign Buy dat safes to ocupl, hate doen ck Sait dn the, Sufusuced sulodtou- Tronk <' AGC’, ‘XYZ’, Cgagai2aul’, 35000, 34,5 7 dnko EMPLOLEE- m Renuadt # Thin dnnichron catiofiee alk epustisile 100 Sk do ackeplable. tiqgo-\o- ll’, Wlawe House, 5-3-2 The Dat Mois Once Tes Qua epuation ton. vate bye SA This oeeuos 34 the Thaple bang deleted 2° Sem ® ‘Dah i WORKS-oN uple ws Gror= He tyyesure3\? aud Tro? 10. phy agustsal’. © Dateke de EMPLOYEE ast $897 "3208 aes, ‘ ; ue se tet Patou He tuple Involved dn Stupebiitad’ tory Tiples N aur DEPENDENT selatore. EmeLoNee , DEPARTMENT, WORKES-ON 5 eT aw Awual Gaodae plow» ayailolale ij daletion. Spuatieus eure a Wo pou & 4. Roatrict + to te seaject, Be delaiou - ee 2 Contode i £0 bo attempt dio donzada p propa) dhe dahon by AA Galdling ‘ipl thot sauce de age aha Ni dolotod. . TB Sek ruth ox agtcefauitki do So esiby Trespass : 4 goth auth Vous 23 2her at Valuer chat Aaiee dhe Welattous Ualiol tiple to NULL st changed 6 spe te auiether diten te tap Scanned with CamScanner NS OO f acaeenel ae Updats (A Mody \epusttion in sasd te thosoy. dhe value f out Gf 04 t 5 ebay fap tld of Some SulotiowR. Bo Abert vO, couditinn Cu du. ccbbtlouitin o thi colin ee” nan ‘ £ A pce she ple (0 tpt) J be wai ote Wu ralory g EMPLONEE Tuple seth, S5n° tuyiaguies\? to ® ': ageoe- Qu! Acceptable Cat camel dots dhaDno q EMPLOYEE Jip sduth Ssn* 333 er Orel Unncapes, busses St laa oupaaoh 8% f outa ako an vulther putmary key mod prt | ei ts A P io paca deat dhe 00 UAE Sa Sf Lies en ; ‘ bun cus atinilad do delcting out Tple 7 ’ eee tai ps, bun ssn pa e Shp Fie make pure HoT 3 ‘ dibut do enotlified jae DBMS must ee ufo ig Spe adhe pena (Lae notte NULL) - 3h “The quension Couset sda vulotioual datiionae eh sptobws appbeolion pagar susnnina, oapsAt dyerdlia Cue OL MOLL drawractiows: grog Avuludes aoe daBlonae : Haig progor Mae ts ' ae eat te 3 Se Jraedtion. deletions ot ne ay qnuuak Jdowk Hae dotabbaas. dip UAOd St 1 Akaka ad on data Pa, om dab f oiugte dpanottion cnay Sve on ao ecbdoued uabions * gpuotinue 2 oie qternie sit | WOK ® Those subilo,ar ond pdan sell togpthos i. TR ° gps f¢ athe dolabase. ES" Mee scciebouckaisbbaee ah ol Conmmsidol appliestious s donlng, pers: sratabitng daventbinws a ra Tinu, puntncsug OUP) astaws ten eee eral Juundsads pu petoud + Scanned with CamScanner Cee > 5 ae Raaah « Ths Wan fa 8p jor dhe final selsttaunk Modal iy Bhe sedotioual ‘ ® This epuatiows saoble aunts do ope baske Xebsavel Xap, Qn i . A The seault of 0 xueiwol cys © ca. 2 Te an ned an a Loaia Rnplemrandinig, od! Opening qinse Gey rrey a pps malin aa at ge | pF RDBMS a- ‘ 3. Sai a fdouespin one, utonporstad Ste % SA atoucod yi Jouguoge for RDBMSd- ‘ 4 Uno Belotioust Opuatiquss SELECT ond FRRIECT | 2-2 The SELECT Option = (Or “mtr | * The SELECT Vpn in ad dm Sroes: o-mubatk 6 Sigh fer | a. culation, thak oatiakiee 0. ahichtou, eoucilion. NOTE? BELECT epuroion do difercuc jer SELECT —_— oe The SELECT thuction. chpeste Supls (orn o kale» ern | Load 0 RESTRICT Ot FILTER Qpualion. = * SELECT epuatidere Kenpr ouly Nheae claphts dha many s yal Bpsoe| ; m ScLECT dus diel iauelys Or AB Pe ae Guclo nwo ite of Taple— theretuple thot aap "coudthon and ae nasheed cud thors Hplay dha do ast nadioby dhe Kavitha D N, Asst. Prof., CS&E, VVCE Scanned with CamScanner

You might also like