You are on page 1of 15
~ 1 Lytlabus tat tseiphtege —B20t0 9 Basics of Database cr E-R modo eS @ Relational Database Model () Converxion ER Modol to Relational Model (4) Normabisatum poses es ss Pew © aoe (5) Relatimal Algebra © sg col (q) “Fransatlion ard Coneunrencg Control proto (8) File Shuctiee (9) GIATE Questions: “These notes are not Substitote g clam soem Aoctires". Nore + Pages cow loft blank feos addition Questtons , xarmples ete- 1] Page By:- Aashish Katare (Computer Science) [Date + fry pact that Con be rrecprclacl. 4 J- Nerme, Nombe, video, Avalio ete. Detabase - Cetlechoy Y velatad cota Date, ans (velatod clata) Vaniows Wyper of olatabyses —> “Fraditioral Dettabase — Only teat amd Numbers Mule media Databwse — Video, Amngs. (neographic Ingoveration Tirages by Aatodlte Syren Real time pectabapes — pause Cellechon cy very huge ,lisio | Dettenare gS ae aay Used in production = Now, these dois Database Shovid be m Compa Data v Satabdqse ap Define clata Programs How tp place data In HDD v Manipvlaben #4 Dd | Dams | 3|Page By: Aashish Katare (Computer Science) DEMS - See Y programs O41 Aophoote Awed bo above au. * Thew is net a 25 Database syem Which arts on euy Database: « Davis depends pon re type y tote [Pata Bace + Dems = Database Se] Modeb jin DBMS —> eps pat Ue Blue punt. Hugh fevel a Cn capita! mocolirg | pate J Asers to Sheed tren “E-R Model” Representadinral O1 implementation D Relation a tables & Relatimral madol Medel L. 7b Stove In HDD Physical Data pecs ve atevelle f fuow +o access it 4|Page By:- Aashish Katare (Computer Science) Lnlrcluction te ER Model ExR Model Entity Relationship model Enbty - An ebpect 10 entity, in Databases - ATS tm veal tiortd: “ar pero Attribute, - Properties b8hich deccnlbes -ontity - agi per&on MM am entity thon Merwe, ape arib ath'butt: Relation Ship - U9hth deserbes asMoctahm amar onthe. tEGi8, LU OVP - FOS: Cnty ag ~enfily PERSON) Noam age, oda) (Reps i (yeselior) a 2 . wentiy 7p a &chemg, eaten Ont pend eaten sim ot Inte’ An instante oy entity Type 15 entity Th €-R ole We a2 only Sehorra net enthes, We woe only. endl, type: By:- Aashish Katare (Computer Science) 5|Page Attribttes — 1) “Composite ome Simple acthibute, 2» Single valued a multi-valued athsbutes D Stored Vo Dewtved atbsbito 4) Compler atbsibutey [> ar oe Person a (nome, ages ena. ie OB ‘Single. Daa CL te rl te Compastio. My ( mone) | int chor | | Relatimship — Retatimship is aso cieahon We get Retabimship cetoul fom Redulremen | Aralyes. © | 2ge Retuiroment omalyris days tat — | Overy employee Choy ks exactly me apartment | amd a depastment Can have Mmaryy emp leyyeas | amd neudly formed dafaatment need not hove | amy sentpegee- By:- Aashish Katare (Computer Science) 6|Page employee Work}_ fos Fee of this relationship 14 +120 benz “Huo Yelabons @ entity cob parkupating « Conolinality Ratio — Ye Manet Caimeas Atk Casiplinatity,. pase asee Herne Cordinality Means — otgne we * hat IA the fraximum numbos of yebhonsip Yn tahich on entity mp De &- Th this exormple , 1 entity perdicipate, exactly im Me ~elaktonship “Do net: Ba Be ee Sy bare We aro Checking Carolinatity vattb pot participaion | Here -< very emplyes in exnplryeo sot bs partici pahing- jm only ome velotumship arvol department ts parru'p— mauling, In mow them one yelaHonship- 7|Page By:- Aashish Katare (Computer Science) faxtictpation 93 -eotisiente, Conshretint —s Minium | Yuombe % yelohbensh'p m udhich erie Gm parti dpate . | DE ts alan Calbd MIN Cosdlinaltty (Cordinality Yotto meams MAX.e numb x Yelosimship 1 Uhich entity Con paatictpate. (oorhs-fo> 8|Page By:- Aashish Katare (Computer Science) Above wepresonlatiin cleo Known a Aovtla Une — Simla veprasentation. docks 48% N - coins LX » lea pes Pomrehn . Although tas. Coadinality + Spy pera Ane 41 ad n ospectively but “Ob ae ca . Citta Uke above. moors Swap" the Cascinalites. (de QIU Aery above ER cltagrrm, 15 Mom, fe ene. nob one TiS bove ER Logan 34 one bo Mong fron Deparment +> erplyyen- MIN=MAx, Representation — user ko Department Men MAX MIN. MAX MIW= MAX representation a more Lggteal ema expremive then Acsuble mest Une veprecentalyn * Rolo names are aloo be there In ER Hogans, Orr Ane Wors folppul in x2 roe Peis 9|Page By:- Aashish Katare (Computer Science) Above represenlatin cllao Known as clovla Una — Srrale yepresentation. WdorK5 4% eee te Poveaneskn . Although tnaa Coadtinality oy Spree a Ax 1 amd 1 Koopectively ) bit apt Jes Lig CInite Uke above moors Swap" the Casctinalites Ode Ci say above ER cliagram bs from, fe one. mek one Stove! ER diagram 74 one bo MIN=MAx, Representation — wero AByee Department [ene <> tix JENS Men MAX MIN MAX MIN= MAX we presentation ww omome teal oma expensive thon Aauble Lina. — Sinale Une Yeprecentabyen * Role names are aloo he There In ER Hegrans, ond One ory holppul in Yeudsive Peiibice 9|Page By:- Aashish Katare (Computer Science) macege’ employee (oy (5) M3 Retirement erralyes Aays tak , pregect Con 11|Page By:- Aashish Katare (Computer Science) | Recut we Reftabionsinip — Relaonship behucen “Re bee aame ently Set, Reftrermont Gralyos days thot, Cres legac 3 Axppotedt b> etl toes bo, eh a loge Woho : " nD, whalnee ete: Gaghn Sry ~~ a Tn tho, Weds Onn ernplesea Can Au \ i Peevises Om ib S i ig ae Ue er employee Con Tape 5 4 Supervigee Greet ™ Degree =2 9 a 0 NO, Ub 15 1, bave only + iy 1S PAK ted hing o L M Gete endityes i aS cloffren orreusong 0 some : te Tiyht Bt house attri bulbs tat Oe 4; to be a kay ts Weak entity Set 14|Page By:- Aashish Katare (Computer Science) Ubeak entity alvays participates totally In Ronse Yelakonship. Cimp) Leak ity Ms oid to be ousned entity Sot ond Abong entity ae. sumivg entity Sot. ee Coto reo! M not alucuys Ee, Sh a a Qbhnbute ‘a 2 e chewed ashabute By:- Aashish Katare 15|Page (Computer Science) 16|Page

You might also like