Download as pdf
Download as pdf
You are on page 1of 204
DBMS > E-R model F Relowiora| Teel . + Coes Deverctorey CFD) , Normalization 7 SQL > Reationg Algeora , Relational Gleoilers, ? Wansaction Wanagement , Concuaneny, Grr} ? Ale organization , Thatey ee ee Hi- Absract in natuae, C Row fact) Ploamatier = — Data with added cay, Record :- Collecyion of logicate, elated arg, ext- < 601 Ry 530 > sinoilan, Database 4- Collection of ,Teroret (or) Collections ef lege, velates! daig. Woaragemant s Thaosgr Set of reopens PBMS :~ Collections _ of logeaity Hate chia and set of Ppoqans to acces Those data. Appiicostons =~ epomking ~ Telecommunications ~ Regenvation Sepsterns - Sales + Scienific applications Gaal of DBMS *- Eftectve Storage ont setsieval of Pala Lon Dems. Ds Database Pems R = “Wee Hrencrichital DB. DBMS. \ en Graph Nexon DB NOMS, abe. Relattenal DB ROBMS Odes ObjeciorienterDG — OODEMS Ree Object selattoral pg = ORDBMS, C ‘ oncepiual Tatabase, Design using G Eling Retain ship Cer). Model Gormponanis of £8 Medel d Emig : An objarr (> the resiuea Noun" ex: Student. Book Account —_—~ Phopleal enti leaked out, 7 ae 2 : ty Set t Collection of similay enkitgig . - [Peso | <~fecrange d Retarionship 2 Verbs" 7 Association more “he Ontieg eR Reding Buying, 8 Relotioninip Ser 2- Gllesion of sinilan rdationships. <- Damon Se y D Alnibaties t- whi cleseribes. an entity / Re NOS 3 No. — ( Came, Byanely <_ Elitpse /ova) ¢ Bruclent —ASinkarion OF Atterbutes ro) D Simple _altisibete + Which con not be eivicleal Fostiey =) 2D Composite _attnibuie 1. which con be, ltuidleal — Fanthas, ) Salony 3 Birgle_Yalbecl auiioute :- which iakey. ona Valet PO Hoang - ° Genin) - Le 9 Motivated arivibuse t- yohich lakes. mone ‘oan ond Valuer Pe An enttig, D D D Biowel autvibute + whe does vot seine aimey pcan ey : ® Daweel otinibute + The Vatus of an ctisibate tan be ctenived From, Ot auttibutes. D Vescviptive atieibute :- — cohich qes information about the aretattonship seb oe Coke Person Key atintou ¢- pore eniqully Hentliey an ontty to the entity” See “el Dew of _“otionship set t- Specifies the no: of crane sets panttepates in svelastonship set. Sie wo entitles of tha Soma nity Set ) ) Unane : Relationship among Ore entity § —C Recunsug relationship Ser) » Binary Qeloiton ship Set t- The elotlenship among too anity sets. (ee <> a] So os FY 4) neany t= A Relotionship non, 7~ entiny sets 6 ) ] Key Consaaint :- An entity % acumgy oF a Key to nomen enti a? selottonship set Tey denoted tn E-R mogel ting 0 Avvo * "Bath cegentmant iy manage’ by armost ona employee * = ts [Ee] or eh Se - - B] Ravicigation Gnsinaint +- tf even eniiiyy Io THe HTYSCH PonkCipats tog eelakonship set is Gilles Aotol fonttipstien clenotect by deubie lie C ‘thick ling), Stremotse, TE Gallet Ponta parttetpatton. C Thin line or ‘single tine’) * Eendo depoarment 4 Tranagest by attest ona employee ' —! ” Beach Dept managed by Cractig one employee Employee | er at & “Taging, Canny Ccenctinatity Rass’) lk Bxprey THR ho Of Qutitveg Jo whith angther entity can be Oncciaied Va a celodt@nship ser Nores- he condinalily rayo's cn be, expressed on binary Adationship set-only “Conta on bre welts ® orate on C121) iran Cae} AD entity ip A davocinter with otmesr One extliy IP B and ay i? ii in A Shitty Io BY associotecl with atmos one entity in iy many Cm) oS An erutity in A & ossottated Ustth apo 09 many enittes in B anol On enity 1 Bi moctoteal colts atmoie one, entiy ip A- Nowe: En re~ to-rmanty ancl mang- 4 ene —elavKonship sot” he fonstiatet & fiom an “m! side enntiy 40 tha Velatlenship sor. ~ ea (nin) fe lAleak Entity Ser s— catty Set - = - An entity ser cahich clees hot havea Kee atisibate ¢ Callecl wenk entity ser, a Posse key an soe Ge Doran ( cS AL F Weak selotionswipser Ga) Soteintiing nelattionshipset lo ~ Goons cnigser Gs) tclowlyinas cemen > TWh ceoner ontiy Ser fo tne, VRaK elaktenship sor “the. coretinatis ona any ‘$ AHO & ‘Tho PolCigation of weah entity ser to dns Retifging velation ship sop & alwary dotal. > Tha weak omity ser 4 idemifiect eaing. pasta Fey arch bey of a SroNT enitky sor Class _Wercneny Grenenati a ae : Piy of entittos (eevee? = 7 ene) Specialization S ‘Drsckingy WHO Sob Enttttey => Class Wivoies TORO CASA -Hrangle) Aggegaiion /) Aggnegaricn alles og t iodiete oat 9, “RLxisnship Sets PERNCipaes % crore relationship Sot Eroplagee Aappeggaion box Advontays of E-R rece} 2 Eoseys to urctersions! 2D Tes an effective tommeniartien too] Disactvantages.of E-R mrode| ) Leited copssatnt Capeioitity. D less of pformatign contene Appraads 1 “Tep- clssan Qppaeae 12 EAR coroponants enarg sop < Relaawshipses La 2 : Ea) omen 7 © eb SaaS Patty ottorship see C Edouttying eloslorship Set) Rows < Glums Cae) Reconcls Attoibuns ‘ Tape, esti dics) Student | Relotton Schma zp. Btvactune Bro Name Brae . neh Numpenc: eacre) — — Relotion instante :- tuples yt we > TO He ! a ese a B ecg } Prana fa. rebation 1 Degree specifies No- of @turmns present tn « Jeaplep ® i Grctinainy of 2 relator 2 Specifies poof coos @ ¢ = = a e * RPBNS + _Cotecton of _sekutong “Wenity Consent ty IS es 15 a condition specifred on a cllaimse sdemq Oe & ctestaicls te clota bat con be Stored 1 an, stance of the clotaloage - ex Prnry KEV, Nor NULL , UMaUE Lega Tistance 2 he, Instance, winch Sonsfes ait He IMegUIy Cangas specifeel on adckaiabae schema, > Onnwie Suchan wstame & Mited Ter, Ke Congrats I's Key Congres TE ts a Ser of frets of Q rehten ba o Wigue identifies fev oO toupee, Thar iy @2cs teuple in a elation &y Rlontifre) est, & ser of atinidutes. Stectent C Rive, Name, Liner, Boor, Passport _) ) ea ———$ do Rwo < Key 9 Reo, Name) < bey % (Nome, Stren) <- ke - ? (ne) Secret ss Pasipor << key a e o Q D Fanpert key DGbrevtge bey = - - ° Te ig Q rantrecl Ser of axietbutey — eshich eniqualy idewitier a tuple Ma Aebsion x Bre, _CHtont, Gamer), Tangent ® Super key ae he Ga Sek Of Gusibaes who Goniaing key Caanardaty keg} ex (Qe, Roser), (Ro Name) Rice, Tape , Mane | a a > Evy candidate key & Caled aspen key, hut every supen hey. neal not le A Candido, kee x) Prirwoney Key - ia Araray ait the available candidate hey en cay be idlentificeh : 03 paimny Ker. ex.- Rio OK 5) Foreign Key Gonstaaint ( Reteaoneal Trccqiy Conisoinr) —— So Studley Regstouieo > y+ Ps Riso “Wome. Bram _GENe, enamt Roo Bie NN ee =~“ u A Cse 11 DEMS a loz, a a = B =F \ Ds \ 3 Toc 3 3 © cse oA PL > —- C Referenced sqeiaies)C Parent) CReterning “etatios) Comte) ~> Tho Yoluss paetent In Keniegy, key rue be presen tp Pairooy ey oF sveRenercedt relation . Foregn Keg aq tontain clupleates and Hull Values Bont tome, hile tate ~Insek <4 D ECED X Free 2108 GT Sm X Delete <1 A CSE > “Delete < 103 Toc 2 > Deletion Lior ne Teberenced relation and trsetten inte tHe ef Yelakon Maye Vilatae — foriegn key constaint JF ! Tae foreign Key wits ondelete, Gkade > _ondelete, @icade wre doe, dara Fron tha From the poset fable ip deloteats The velates Oni, tale alte debe. detect Sseadkelly- C bot tables) » > A Relation ai aor C3 both qenent anol chill, fe. aq qebiton MAH CONTIN Oo prison key arta Rreign heey strat Vefoy JO te Some elation. Comider a relation RCA B) whe A ¥ Priemongy key ant BY frwig, keep Teteneneing ‘the Same, Watton. then — evhien of The, folowing Ow Sequome, Gn be inserted sucey, fay se a) C4 pull) Co, (272) (3,2) DC natler) Cue) ¢2,9) C54) 7 ne 5) cay © 2) C daa De ae 8 Gawler g acai RCArB) whe A & a pmmange Keay ard BE a Kreg Key, referencing, A osttty on-delete. Gacacte. Consichen the flowing, seltton Ivtorce of R. EN oo, RC# 8) 2 ce) DFID s Poon wh

You might also like