Lec 7: How to Find Number of Candidate Keys in a Relation - part 1 | DBMS Tutorials

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 466

  • @ommidazimi8297
    @ommidazimi8297 2 месяца назад +10

    Stuying computer sience in germany and i gotta say this is the best playlist for DBMS

  • @samsons8279
    @samsons8279 Год назад +161

    Answer for exercise at 18:31
    Number of candidate keys = 4
    Set of candidate keys = { AB, CB , AD , CD }
    Prime attributes = { A, B, C, D }
    Thanks a lot ma'am !! 🤩🎊
    This is one of the epic channels to learn DBMS !! Hats off !! 🙌

    • @carishmakhan4694
      @carishmakhan4694 Год назад +3

      can you explain it?

    • @dsadsa5447
      @dsadsa5447 Год назад +14

      @@carishmakhan4694 r(a,b,c,d)
      ab->cd , d->b,c->a (prime attribute a,b,c,d)(if prime attribute is on the left arrow side, u can replace it with a new attribute)
      ck?
      abcd=(abcd)
      abd=(abcd)
      ab=(abcd) ->ck
      (c->a so cb is sk but not sure bout ck)
      cb=(abcd)-> ck
      (d->b so ad is sk but not sure bout ck)
      ad=(abcd) -> ck
      (ab->cd so cd is sk but not sure bout ck)
      cd=(abcd)-> ck

    • @manytuch
      @manytuch Год назад +7

      @@dsadsa5447
      How does ad->c?
      what I know is that you can only determine c using ab by applying decomposition rule. a alone can not determine c.

    • @rishabhsharma3022
      @rishabhsharma3022 Год назад +3

      @@manytuch i think, AD->B after that we can use AB->CD to get C

    • @manytuch
      @manytuch Год назад

      @@rishabhsharma3022
      Sure, I figured that out after watching the next video. Thanks

  • @SkyJunkie1000
    @SkyJunkie1000 3 года назад +34

    These lectures have been filling in all the information that is missing in the text books. Thank you so much!

  • @parikhmansi90
    @parikhmansi90 6 месяцев назад +2

    After watching several videos, not getting clear such concepts, but you make it so simple to understand. thank you so much.

  • @jubinsoni4694
    @jubinsoni4694 4 года назад +30

    Thank you jenny for such awesome videos...The thing that separate u from rest of the teachers is that you explain every concept with an example...and I'm a person who looks to knowledge for acquiring skill and making something from that skill rather than to just pass exams ....Thank's a lot for making such informative videos

  • @clebsonmachado9692
    @clebsonmachado9692 9 месяцев назад +1

    The best course for competitive examination in Brazil cannot pass a subject at its level. Congratulations.

  • @theuniverse9928
    @theuniverse9928 3 года назад +14

    If this type of teacher will be available in India then all peoples will not have to learn like copy from book or Google then paste in exam nd also never forget any topics.... 😊 Thank you ma'm...

  • @titusjapan7572
    @titusjapan7572 3 года назад +3

    AM TITUS from Ghana i have been watching your videos on data structure which is really helpful to me .God bless you .Thank you.

  • @raheemasghar2383
    @raheemasghar2383 Год назад +4

    Absolutely Brilliant. There is no doubt you are the best instructor on RUclips. I have checked out quite a few videos but none have been able to explain this core concept as clearly as you have.

  • @anupam4446
    @anupam4446 3 года назад +5

    somebody award this playlist!

  • @muhammadshahzaib2073
    @muhammadshahzaib2073 5 лет назад +10

    i dont know why u didnt start this series three month ago, coz i really wanted it in my last semester. I m from pakistan and i always watch your videos to clear concepts because u r much better than my lecturer ...... ->Brilliant teacher

  • @namratapatil5181
    @namratapatil5181 3 года назад +76

    Prime attributes - A,B,C,D
    Ck - AB,AD,CB,CD

    • @pedrosousa7254
      @pedrosousa7254 2 года назад +7

      I've came to the same solution. So, is this correct?

    • @fitnessgurl1396
      @fitnessgurl1396 2 года назад +3

      AB,CB,AD,BD

    • @nandhu2030
      @nandhu2030 2 года назад +6

      @@fitnessgurl1396 BD is not even a super key. 🤣🤣

    • @AmritaKumari-fj5mo
      @AmritaKumari-fj5mo 2 года назад +1

      how can you please explain

    • @divyarana9717
      @divyarana9717 Год назад

      how bc is termed as candidate key
      mine toh only three is there AB AD AC

  • @suvankar54
    @suvankar54 2 года назад +22

    How we got CD as candidate key:
    we are given that C-> A and D->B, now by the help of Composition rule CD -> AB, thus AB is replaced with CD.
    ** Composition Rule of Armstrong's Axioms.

  • @shivateja7574
    @shivateja7574 3 года назад +10

    Your videos helped me in cracking GATE. Thank You so much mam.

  • @Sok_Masterly
    @Sok_Masterly 11 месяцев назад

    You are the teacher. I can understand very clearly of finding candidate key😻. Before I really confused of it.😭 Thank u so much my lovely teacher. ❤

  • @jaishreeramjaanki
    @jaishreeramjaanki 2 года назад +1

    After watching this video first time,
    "Kitni awesome hain yaar.. "
    🥰🥰🥰🥰🥰

    • @adarshjha5126
      @adarshjha5126 6 месяцев назад

      Bhai thodi padhai bhi kar leta

  • @zuhairbilal2222
    @zuhairbilal2222 4 года назад +11

    Answer for last question to cross check!!
    got AB,CB,CD,AD.

  • @videosforfun2602
    @videosforfun2602 8 месяцев назад

    All the lecture in English Just The word "Ayaa Button" :)
    Very informational videos ever i seen :)

  • @unnayan_sharma
    @unnayan_sharma 5 лет назад +7

    Thank you mam , you are such an inspiration for all of us who are preparing for GATE

  • @knowledge_withkanha
    @knowledge_withkanha 8 месяцев назад +1

    I can't explain my word.. To say thank you.. But Thank you so much mem for your efforts to the students... 🙏💝❤

  • @kipyegoian7700
    @kipyegoian7700 2 года назад +3

    Candidate Keys are :AB,CD,AD,CD Prime Attributes are : A,B,C,D

  • @MunoBhaiSialkoti
    @MunoBhaiSialkoti 7 месяцев назад

    Your teaching method is best and easy to understand you are really a genius. ❤❤❤

  • @zeelchauhan4401
    @zeelchauhan4401 3 года назад +8

    CANDIDATE KEY : AB,AD,BC,CD
    PRIME ATTRIBUTE : A,B,C,D

    • @manishpritmani
      @manishpritmani 3 года назад +1

      How can AD be candidate key plz explain

    • @premjith8361
      @premjith8361 3 года назад

      @@manishpritmani same doubt

    • @anujbhushanmahto8308
      @anujbhushanmahto8308 2 года назад

      @@manishpritmani proper subset of AD are A and D ,whose closure are not superkey ,therefore it is candidate key.

  • @isaicsefxec6721
    @isaicsefxec6721 4 года назад +6

    Its remember my maths teacher. U give tough portion as assignment 😁

  • @jisanhasnat6770
    @jisanhasnat6770 4 года назад +10

    Candidate keys: 2 (CD, AB)
    Prime attributes: 4 (C,D,A,B)

  • @mq4950
    @mq4950 7 месяцев назад

    Ans. Of hw question is
    CK={AB, BC, AD, CD}
    Prime Attributes are
    A,B,C,D
    AMAZING LECTURE ❤

    • @jroy7777
      @jroy7777 4 месяца назад

      @@mq4950 plz can u explain how?

  • @Dileepkumar0101
    @Dileepkumar0101 7 месяцев назад

    My question is solved after watching this video 😊

  • @emran8294
    @emran8294 2 года назад +1

    Thank a lot . 4 candidate key . ck = {AB,ADBC,CD}

    • @jroy7777
      @jroy7777 4 месяца назад

      Plz bro explain how

  • @sobhityadav5753
    @sobhityadav5753 3 года назад

    your way of explanation is too good...MAM

  • @floydmartyres9157
    @floydmartyres9157 Год назад

    simply amazing. better than my professor.

  • @medhadhar6115
    @medhadhar6115 2 года назад +13

    PRIME ATTRIBUTES- A,B,C,D
    CANDIDATE KEYS- { AB, CB, CD }

    • @pittavivekreddy5022
      @pittavivekreddy5022 2 года назад

      why can't AD be a candidate key?

    • @155.p.vijayaraju5
      @155.p.vijayaraju5 2 года назад +1

      @@pittavivekreddy5022 ad also

    • @vivekreddy7315
      @vivekreddy7315 2 года назад

      @@155.p.vijayaraju5 actually i knew that, am actually questioning her, i intend to let her know the mistake she has done

    • @Hello-vt2bh
      @Hello-vt2bh 2 года назад

      @@vivekreddy7315 please tell how ad is candidate key

    • @suryapratap6250
      @suryapratap6250 2 года назад

      please can you give the clear explanation?

  • @KrupalusPersonal
    @KrupalusPersonal 10 месяцев назад +3

    Normalise watching Jenny ma'am's lectures in 1.5x 😅

  • @harshadlokare
    @harshadlokare 5 лет назад +49

    stop reading comments and focus on study........

    • @tejaswigopaladasu7372
      @tejaswigopaladasu7372 4 года назад +5

      hello bro....ans for questions asked by her will be seen in comment section .so that many will see comment section for that purpose.

    • @harshadlokare
      @harshadlokare 4 года назад +2

      @@tejaswigopaladasu7372 ok ok...

    • @namansrivastava9495
      @namansrivastava9495 4 года назад +3

      @@harshadlokare terer jaise hi jobless hote hein

    • @nikhilramisetty532
      @nikhilramisetty532 4 года назад +2

      @harshad lokare Stop commenting and focus xD...

  • @SamuelAdedeji-d4g
    @SamuelAdedeji-d4g Месяц назад

    Great video and excellent explanation! Thank you, J

  • @001aariffarooqbhat7
    @001aariffarooqbhat7 2 года назад

    Got it ma'am AB,CB,CD,AD
    PA-A,B,C,D

  • @maitridharmajumder9635
    @maitridharmajumder9635 4 года назад +4

    Ck-4
    AB,CD,AD,BC
    PRIME ATTRIBUTES-{A,B,C,D}

  • @jhumabiswas2163
    @jhumabiswas2163 4 года назад

    Really Your Technique of Teaching is Awesome.Your Viodeos are Really Helpful and understandable. Thank you Mam. You Make My Understanding About Candidate Key.

  • @dipayanjana6124
    @dipayanjana6124 2 года назад +1

    you are a lifesaver, thanks for making such wonderful videos,

  • @fathimathsameera9593
    @fathimathsameera9593 3 года назад +3

    Hi ...myself mtech graduate ,,, your classes are amazing

  • @eagle_shadow6665
    @eagle_shadow6665 2 года назад +3

    Thank you so much mam really superb video 💫👌

  • @millionplusviews8013
    @millionplusviews8013 3 года назад +1

    Super Explanation... Very Very Thankx Maam...👌👌

  • @mahnooriqbal7616
    @mahnooriqbal7616 Год назад

    you have taught very well but it is very complex

  • @isaacchuah7543
    @isaacchuah7543 4 года назад +2

    Thanks for your technique on finding the candidate keys. It's very very reliable compared to what I was taught in class.

  • @aparnatiwari6442
    @aparnatiwari6442 11 месяцев назад

    Answer for question at 18:31 :
    Number of candidate keys = 4
    Set of candidate keys = { AB, CB , AD , CD }
    Prime attributes = { A, B, C, D }

  • @153chhaviagrawal2
    @153chhaviagrawal2 4 года назад +1

    4 CK:-{CD,AB,CB,AD}
    Prime Attributes:-{A,B,C,D}

  • @dinushachathuranga7657
    @dinushachathuranga7657 Год назад

    Bunch of thanks for the clear explanation🧡🧡

  • @flamelsphoenix145
    @flamelsphoenix145 4 года назад +3

    Please add english subtitle so that we(people who not having a very good listening skill) can understand you completely , thanks for well explained video though.

    • @SanjeevKumar-yt7sn
      @SanjeevKumar-yt7sn 4 года назад +1

      She's trying to teach in english,not her native language.so cooperate u moron.Instead of doing sarcasm....

    • @Thedemonmaster24
      @Thedemonmaster24 4 года назад +6

      @@SanjeevKumar-yt7sn I don't think it is sarcasm, if you are not used to one type of accent it can be difficult to understand sometimes. Anyway, awesome lectures

  • @AmanSingh082
    @AmanSingh082 2 года назад

    CK :- AB,AD,CB,CD Prime attribute :- (A,B,C,D).

  • @simpleseesaw2551
    @simpleseesaw2551 5 лет назад

    Miss please do all videos in English because as ure thinking the whole world should benefit from your videos. For example u had done diwali video in hindi. I couldn't understand dear mam

  • @791_kunalchakraborty8
    @791_kunalchakraborty8 5 лет назад +1

    maam u are great , i like ur all videos,ur lactures help me a lot. thanku a lot

  • @rumiNITPatna
    @rumiNITPatna 12 дней назад

    thank u mam! u made this super easy

  • @HotmarkComputech.18
    @HotmarkComputech.18 5 месяцев назад +1

    If I get three teachers personally 24×7, Code With Harry, Gate Smashers and Jenny
    . I will crack Google surely.

  • @LetsMakeYourOwn
    @LetsMakeYourOwn 3 года назад +1

    Candidate Key :- AB, CB, CD, AD
    Prime Attributes :- {A,B,C,D}
    This answer I've got..

  • @paulphyo
    @paulphyo 3 года назад

    wtf this person is awesome thank u :)

  • @thomaszhou5042
    @thomaszhou5042 4 года назад

    The explanation is very clear and easy to understand. Thanks.

  • @viplovekadre9371
    @viplovekadre9371 5 лет назад +6

    3 candidate keys AB,CD and AD all are prime attributes

    • @alphonseprakash7459
      @alphonseprakash7459 4 года назад +2

      BC will also be a candidate key

    • @viplovekadre9371
      @viplovekadre9371 4 года назад +2

      @@alphonseprakash7459 what BC can determine bro is it giving the whole relation then definitely it is if not it is not

    • @nimisharajesh8846
      @nimisharajesh8846 4 года назад +3

      BC also will give whole relation

    • @labrederlifestyle6819
      @labrederlifestyle6819 4 года назад

      @@viplovekadre9371 yes bro find CB closure u get CD and C->A and B->D hence CB-> CDAB which contains all keys

  • @Ruby..R
    @Ruby..R 2 года назад

    Really really such a wonderful video ma'am. Thanks a lot

  • @soobinkim9460
    @soobinkim9460 4 года назад +189

    I got AB, AD, CB, CD as candidate keys.

    • @piyushgoel8165
      @piyushgoel8165 4 года назад +2

      I got the same.

    • @cassj7
      @cassj7 4 года назад +7

      Yeah, I got these too.

    • @Summaiyafatima556
      @Summaiyafatima556 4 года назад +2

      I got these same

    • @bense_tony
      @bense_tony 4 года назад +145

      Explanation [Kindly correct If I'm wrong] @18:24
      Ans. 4 - AB, CB, CD, AD
      1. [ABCD]+ = {A,B,C,D} -> Super Key. But not candidate Key
      Using, C->A, D->B, We simplify 1 as [ABAB]+ which is nothing but [AB]+
      Now, [AB]+ = {A,B,C,D} -> Super key.
      To check if [AB] is a candidate key,
      [A]+ = {A}, [B]+ = {B} which are not super keys. So, AB is a CK
      Also, Prime Attributes are {A,B} which is on the RHS of C->A and D->B.
      So, the next possible super keys which we have to check as candidate keys are
      Replace A with C, B with D and also AB with CD . Results are CB,CD,AD
      [CB]+ -> super key. [C]+ = {C,A}. [B]+ = {B} which are not super keys => CB is a candidate key.
      [CD]+ -> super key. [C]+ = {C,A}. [D]+ = {D,B} which are not super keys => CD is a candidate key.
      [AD]+ -> super key. [A]+ = {A}. [D]+ = {D,B} which are not super keys => AD is a candidate key.

    • @yashwanth687
      @yashwanth687 4 года назад +4

      @@bense_tony nice work

  • @cs-rohitsahu4943
    @cs-rohitsahu4943 2 года назад +1

    Thank you ma'am 😊

  • @anjalianju7854
    @anjalianju7854 3 года назад

    Thank you very much mam, after watching so many videos, this found to be very informative

  • @mohan_yerra
    @mohan_yerra Год назад

    Candidate keys are {AB,AD,CB,CD}
    Prime attributes are {A,B,C,D}

  • @rohanjamakhandi5461
    @rohanjamakhandi5461 Год назад

    Very helpful, thank you very much

  • @parth61
    @parth61 Год назад

    Amazing ma'am ☺️...i understand all the things... thank you so much ma'am ☺️🥳

  • @sarikagehlot2480
    @sarikagehlot2480 2 года назад

    U r best teacher thank u mam🙏

  • @lakshaygupta6180
    @lakshaygupta6180 4 года назад +12

    4 candidate keys possible- AB, CB, CD, AD

    • @alfa8728
      @alfa8728 2 года назад

      I think you're wrong there.

    • @mdomarfaruq3160
      @mdomarfaruq3160 2 года назад +1

      How can you find 'AD' please explain, I didn't understand this

  • @programmingstuff9216
    @programmingstuff9216 2 года назад

    Thank you very much ma'am . you are very kind . Thank you :)

  • @khushalsharma7370
    @khushalsharma7370 5 лет назад +1

    Iss baar aap bhahut cute aur pyaari si lag rahi ho....aur explain to karti hi ho achha

  • @rajeswariramanan2516
    @rajeswariramanan2516 5 лет назад +3

    AB, AD, BC, CD and all prime attributes

    • @altinarexha6134
      @altinarexha6134 4 года назад +1

      Can u pls tell me where u got that BC cuz I only have AB, AD, CD

    • @anuragsoni1840
      @anuragsoni1840 4 года назад +1

      @@altinarexha6134 CB from AB as C->A

    • @jajulasthings6789
      @jajulasthings6789 3 года назад

      @@altinarexha6134 I too got 3 composite keys ....I didn't get bc

    • @jajulasthings6789
      @jajulasthings6789 3 года назад +1

      @@anuragsoni1840 cd comes from c->a

  • @asfandyarahmad8286
    @asfandyarahmad8286 4 года назад

    Thanks mam
    Allah ape ko buhat kamyabi day

  • @user13rs258
    @user13rs258 2 года назад +1

    thank you mam, clear concept :)

  • @coralexbadea
    @coralexbadea 4 года назад +3

    Much love from UTCN

  • @036_asthasingh4
    @036_asthasingh4 3 года назад

    Thank you MA'AM for such awesome video 🙌

  • @xyzui
    @xyzui 2 года назад +1

    Hi jenny, can you please make a short video explaining the answer of the last question for us? I just wanted to confirm the procedure. Thanks

  • @saranyatv9027
    @saranyatv9027 3 года назад

    Good one👌👌👌👌👌

  • @okoloanderson5714
    @okoloanderson5714 2 года назад

    You are a darling... Thank you so much!

  • @sukidharani5125
    @sukidharani5125 4 года назад +9

    3 candidate keys are present in my point of view

  • @shaikabbas6910
    @shaikabbas6910 2 года назад

    ck--CD,AB,CB

  • @nextlevelmemes8862
    @nextlevelmemes8862 4 года назад

    Chehre pe tere sanam laila ki hain shokhiyan
    Heer se badhke hain aankhon ki yeh mastiyan
    Juliet ki tarah hothon pe hain surkhiyan
    Dekh le khud ko tu nazar se meri jaan-e-jaan
    Dekhi jo teri adaa main fidaa ho gaya
    Seene se lag ja zara jeene ka aaye maza
    Jeene ka aaye maza
    Yeh bikhri bikhri zulfein
    Yeh jhuki jhuki palkein
    Yeh gori gori baahein
    Hum kyun na tumhein chaahein
    Aisa to humne pehle dekha nahin kamaal
    Yeh kaali kaali aankhen
    Yeh gore gore gaal
    Yeh teekhi teekhi nazren
    Yeh hirni jaisi chaal

  • @gautamgupta7282
    @gautamgupta7282 Год назад +1

    4 candidate keys are:{AB,AD,CB,CD}

  • @satyadharkumarchintagunta3793
    @satyadharkumarchintagunta3793 2 года назад +1

    Thank You Soo much mam

  • @abhirashmikumari8097
    @abhirashmikumari8097 3 года назад

    AV ,CB,DA,DC are the candidate keys :)

  • @CaptainCoder1
    @CaptainCoder1 2 месяца назад +1

    I can not decide how AD is candidate key. Actually by replacing derterminant it is clear AD is SK but i can not figure out how its closure is containg all the attribute.
    This is what i am doing
    Given FD: AB->CD, D->B, C->A
    from above given fd i have done this
    AB->C, AB->D, CD->AB, CD->A, CD->B,
    D->B
    AD->AB
    AD->A
    AD->B
    Using above given and calculated fd I could only idententify A, B, D attributes in the closure set of AD
    I want someone help me how AD is SK
    And rest i can figure out myself
    I apprepriate you invaluable help.

  • @rajninegi903
    @rajninegi903 4 года назад

    Thanku so much ma’am for these lectures 🙂

  • @vishalvaishnav8846
    @vishalvaishnav8846 2 года назад

    very helpfully video thank you mam

  • @abhinavsoni6180
    @abhinavsoni6180 5 лет назад +1

    My favourite lectures and my favourite madam 😘😘 love you mam you are so beautiful but you didn't smile please smile mam 😅😅😅😝😬 👍👍👍

  • @swarnalibhattacharjee3659
    @swarnalibhattacharjee3659 4 года назад +4

    Mam could you please upload some videos related with database query . It will also be really helpful.

  • @RitikKumar-km5io
    @RitikKumar-km5io 10 месяцев назад

    Thank You Mam❤!

  • @shafiqahmad9057
    @shafiqahmad9057 5 лет назад +1

    Please numbered each video with1 2 and 3 in play list it will become more organise .

  • @naeemabbass8183
    @naeemabbass8183 5 лет назад

    thanks for uploading candidate key .............

  • @KushRanjeet
    @KushRanjeet 5 лет назад +1

    Thanku maam 😘

  • @devrajpatil4496
    @devrajpatil4496 2 года назад

    Thanks for this mam !!

  • @parwateeswargollapalli7776
    @parwateeswargollapalli7776 5 лет назад

    I know this concept well. even then I am watching it because of you only mam...

  • @gunjonroy1304
    @gunjonroy1304 4 года назад +5

    I got CD, AB, AD & CB as candidate keys.

    • @novicecoder5753
      @novicecoder5753 3 года назад

      Same brother what about the answer is this right or wrong

    • @akilgollapelli6230
      @akilgollapelli6230 3 года назад +2

      we can get only 3 candidates keys how we can get 4

  • @suryadev9739
    @suryadev9739 5 лет назад

    Jenny Mam....Really u r awesome to explain complex concept in understandable way....Really thanks to u.....

  • @arpit1718
    @arpit1718 5 лет назад

    Nice video mam always give proper solutions

  • @sirispandana1471
    @sirispandana1471 4 года назад

    candidate keys: AB,BC,CD, AD
    AB => A+ -> {A } , B+ -> {B }
    BC => B+ -> { B} , C+ -> {C,A }
    CD => C+ -> { C,A} , D+ -> { D,B}
    AD => A+ -> { A} , D+ -> { D,B}

  • @oshadhaedirisinghe1455
    @oshadhaedirisinghe1455 10 месяцев назад

    Thank you

  • @madhav-k
    @madhav-k 4 года назад

    AB, AD, CB, CD are Primary key and also Candidate key
    Prime attributes are {A,B,C,D}

    • @thalathalapathy6463
      @thalathalapathy6463 4 года назад

      Please explain how you got candidate key

    • @thalathalapathy6463
      @thalathalapathy6463 4 года назад

      I got only two candidate key

    • @madhav-k
      @madhav-k 4 года назад

      Candidate key is a key whose subset is not a super key
      Like in AB
      Subset is {A,B}
      Here A+ ≠ All attributes
      Or
      B+ ≠ All attributes

    • @madhav-k
      @madhav-k 4 года назад

      So A or B is not super key

  • @RAHULKUMAR-wn8po
    @RAHULKUMAR-wn8po 3 года назад +1

    Last Q ans : AB, BC, CD, AD

  • @muvedinisukumaran1242
    @muvedinisukumaran1242 5 лет назад +1

    Hi mam.. as a kind request... Pls make some videos on python programming language....