You are on page 1of 2
cx lear Kes wy “In _ €-@ Model Y No two entities in an entity SA ave alloWed tolhae exachy the Same value Fos att Airéibude- So, a Key alters us to Identify a Set of Othe butes that Suffice +0 stirguaaty enpites From each otrer ta Data in | Adtabder Customer d 4 en Customes should be Unig ond Should be nat be ame fos ottes ently set of Same attnbJe Curstomaid. Keys theough Lakich Use Can Keys in Endity Sets |- Wese ase was coup S => Pi Subestey a a Set of One O5 Mose abvibules +hat taken Corectiely, allo sto Were Uniquely an enh hy inthe entiky Set- Dy Set Cuotomens » Ee Customer ~id Qitilde of the ently Jd Sufficient A dintingubh “one Guctemer entiby (om eretres, “Thus Cutomes— id is cur Sebervey- Combination Customes_name } Customes-id is Suber esa “fpr the ib, Set Curtomer Rut Customertvame Ottnbule ts not Subes key as pessons has Same name. Crripmer nam Computer Science Lectures By Er. Deepak Sexe = Condidate Key t- Minimal Suber keys ame catied Candidate Y TF we Consider K is Subes ke “4 then ay tain be any Super set of kK 2 Ip 18 @ Cand/dat attr) bute /Cokemn Hat i 9) Blogs hg ie Ua germ te cote ats faritarn Leniquencss ina table at the Ros/daues Ext. Lets take Entity Empoyee With AtSbuter Oembryeeto ® Th the Employee enkiy , Attn bute Employcetp 4 SSN ind vi Com maintain, Uniqueness in atable. So they ave eligible Rr Candidate Key. Bittilates Emibouce Name J 008 Combined Can also Makeup & Candidate Key - but there ig Nasrew Chane, that 2 emblayces Lsith Same name Cane. fesn in Same daw. > Th this Embigectn 4 Ssn_ CNet Combindasin) ony bewsed hese an parrasy Kay ‘because every Value in LU Obed utes Gre Urique- Intnis Emblouceld + CmbeyeeNlame is O Subestey because Sulperkens ds a Subesset of Candidate Kay. SF" add any Awribule m Candidate Kay ther tr became: a Subex As Emipoyee Name Cone name ¢ Other emipwyee go Combinirg them ives orique value-. tay aT ; YouutliyD Computer Science Lectures By Er. Deepak

You might also like