Second Normal Form | Database Management System

Поділитися
Вставка
  • Опубліковано 13 жов 2024

КОМЕНТАРІ • 182

  • @yosoyelqueso
    @yosoyelqueso 4 роки тому +5

    I missed two weeks of database theory due to hospitalization from Covid-19, and your videos are the reason I am still able to pass this class. I wish there was more to do to thank you.

  • @poddarvaibhav2013
    @poddarvaibhav2013 5 років тому +3

    If you are wondering why BC is not a candidate key then switch to 4:49 directly. It is a Candidate Key and has been explained later to get a good understanding of 2nd N.F.

  • @samuellam7951
    @samuellam7951 Рік тому

    Thank you! I solved my assignment after watching this. You're truly a lifesaver.

  • @farrukhmashkoor2453
    @farrukhmashkoor2453 8 років тому +68

    Dnt get any think. Its better if u explain its with the table example as u explain the first normal form

  • @sajalbiswas6065
    @sajalbiswas6065 8 років тому +32

    sir i think u have made a mistake,, u said all non prime attributes are fully functional dependent on ANY candidate key.... sir, i think it will be on EACH candidate key not ANY..

    • @Edredo
      @Edredo  8 років тому +10

      +Sajal Biswas Exactly!! Let us correct. Thanks a lot.

    • @ayzone4u
      @ayzone4u 8 років тому

      +Techtud Sir could you please elaborate how to find candidate key. As you said i already checked this..

  • @photostudio3017
    @photostudio3017 8 років тому +16

    why u haven't remove D->E, since it is partially dependent on candidate key A,BC and also on D ?

    • @irinahill6866
      @irinahill6866 4 роки тому +6

      D is not part of the candidate key, so that dependency doesn't break the rule.

  • @mertyertugrul
    @mertyertugrul 6 років тому +1

    No matter how complicated the subject is there is always one Indian person explaining it in IT.

  • @Blackpill_Prophet
    @Blackpill_Prophet Рік тому

    Thanks Brother. Indians are always there to save us.

  • @ADITYAAISHWARY
    @ADITYAAISHWARY 7 років тому +1

    sir!! you said at the end to separate the functional dependency B->F into a seperate table/relation R2(B,F) and R1 will contain attributes of remaining functional dependencies then why are you putting B in R1 again.?? Please reply

  • @music2relax486
    @music2relax486 8 років тому +22

    not all hero wear capes. sometimes they r holding mouse&keyboard. (y) thanks man

  • @adityarathod71
    @adityarathod71 8 років тому +3

    can you please explain it with an example.... much nice if we consider the 1nf table of previous video

  • @crag4538
    @crag4538 8 років тому +6

    BC is also a candidate key ,right?

  • @vidyagidde
    @vidyagidde 8 років тому

    sir in 2 NF the non-prime attributes must be fullyfunctional dependent on candidate key and non prime attribute can fullyfunctionaldependent on non-prime attribute

  • @megfan1383
    @megfan1383 4 роки тому +1

    How did you find the keys?

  • @AmanYadav-bx6fe
    @AmanYadav-bx6fe 6 років тому

    Sir in the example, why d was not considered as a candidate key as even it determines another attribute so it must be unique.

  • @krishmaparekh2402
    @krishmaparekh2402 8 років тому +3

    You should continue the example of the 1st NF form so that there remains continuity.

  • @rumiulfath
    @rumiulfath 9 років тому +1

    I have a doubt at 8:55 how is R1 in 2NF when D->E where both are non prime attributes and According to 2NF "All non prime attributes must be fully functionally dependent on Candidate key"? Please do correct me if i'm wrong!

    • @bhawnasingh2830
      @bhawnasingh2830 9 років тому +1

      But A is present in R1 which is a candidate key.E and D both are fully determined by this key.

    • @bhawnasingh2830
      @bhawnasingh2830 9 років тому +4

      The condition is that non prime attributes shud be fully functionally determined by any candidate key, it doesn't matter if it has any functional dependency on any other non prime attribute

  • @kamleshkumar-nk9mh
    @kamleshkumar-nk9mh 6 років тому

    Sir please reply....
    Tables in second normal form (2NF):
    a) Eliminate all hidden dependencies
    b) Eliminate the possibility of a insertion anomalies
    c) Have a composite key
    d) Have all non key fields depend on the whole primary key

  • @sidharthsatheesh9986
    @sidharthsatheesh9986 8 років тому

    does the relation R1 have dependencies of F after converting to 2nd normal ?
    i.e is it A->BCDEF or A->BCDE after converting to 2nd normal form ?

  • @chaitanyaallu5130
    @chaitanyaallu5130 8 років тому

    in the above example R1 is 2nf and R2 is not in 2nf right. my doubt is can i proceed the R1 individually to 3nf or the example is said to be only in 2nf

  • @rookiebobplayer244
    @rookiebobplayer244 6 років тому

    I think there was something wrong with this video, firstly candidate keys refer to the smallest subsets where all attributes can be reached from which would only be a and not bc because bc has a length of 2. if there was the case of b being b->a,c,d,e,f then there would be 2 candidate keys a and b, and either can serve as a primary key. lastly for e, e is only partially dependent on a i think(this part im not clear on) because we have the relation d->e can someone correct me if im wrong on this?

  • @fadelhind3810
    @fadelhind3810 8 років тому +1

    siir plzz I didn't understand ... can you explain that with the table example as you explain the first normal form thaank you so muuuch ... great job

  • @abhishekm3253
    @abhishekm3253 8 років тому

    sir i have a doubt that what the main differences between the candidate, primary and the foreign key (and wanted to know whether they all have the unique nature in them or not)

  • @GeekyNiksVlogs
    @GeekyNiksVlogs 8 років тому

    i have an doubt buddy.........at the end of the lecture while we seperate the relation into r1 and r2 so there in r1 since b->f creating a problem and therfore b,f is put into r2 and in r1 you removed only f not b why..????

  • @pavankumargunda8655
    @pavankumargunda8655 8 років тому

    sir i think in the given example e is also a partial functional dependency ?

  • @ane3569
    @ane3569 7 років тому

    i can't even express how thankful i am

  • @vinaykothari434
    @vinaykothari434 6 років тому

    Sir you said that candidate key can't be derived from any of the functional dependencies but here A has been derived by BC so how can be it a candidate key, kindly help me on it.

  • @mohdrafeeq350
    @mohdrafeeq350 8 років тому

    well you are explaining clearly normalization topic in all videos.compare to other peoples.thanks

  • @SourovDattacse
    @SourovDattacse 7 років тому +5

    Good , but should be real life example with using table .
    thanks

  • @TheAbha11
    @TheAbha11 8 років тому +2

    sir ,m unable to understang how
    D -> E satisfing the condition of fully dependency if B -> F is not ?

    • @killomenino
      @killomenino 8 років тому +1

      D -> E is a FD, because A->D ( or B->D ) ( transitivity ), but for B->F , BC->F as well. to put it more simply, X->Y and Z->Y if ( Z does is not part of X , as B is of BC )

  • @rishabhsaluja3171
    @rishabhsaluja3171 7 років тому

    actually the second condition in 2nf is all non-key attributes are fully functional dependent on the primary key not candidate key(as I searched on google)

  • @Kareem-cx4fi
    @Kareem-cx4fi 4 роки тому

    Nice. This is exactly what I was looking for...

  • @JohnKilombelevisualfxartist
    @JohnKilombelevisualfxartist 9 років тому +2

    Am totally confused with the second example,though i had clear understanding in ur illustration of the 1NF in the previous tutorial using the students relation,..i would suggest that u better use the same example to demonstrate all the steps of normalization.....

  • @Tech2Make
    @Tech2Make 9 років тому +7

    B should not be there in R1 because it is creating problem .do correct me if i am wrong

    • @curious_india
      @curious_india 9 років тому +3

      +amrit srivastav no, because then bc -->adef will have no meaning. we only remove the relation b-->f.

    • @NYUVASANDEEPMIS
      @NYUVASANDEEPMIS 7 років тому

      then what about d-->e , bc--> adef then d-->e should be seperated right??

  • @magdam3961
    @magdam3961 8 років тому +1

    Perfectly explained!!! Thank you so much !

  • @pratikchowdhury3368
    @pratikchowdhury3368 7 років тому

    your teaching class is really very helpfull.

  • @LifeSuxTR
    @LifeSuxTR 6 років тому

    How E is fully functional dependent since D - > E ??? like B -> F

  • @sonamsharma1615
    @sonamsharma1615 8 років тому +4

    Sir in the last minute of this video, you told that the attributes of remaining functional dependency is putting into a Relation R1 except the attributes which this (B->F) functional dependency contains.So why are you considered B also into the relation R1 as R1(A,B,C,D,E). I am getting confused bcz i think here R1(A,C,D,E) will consider. Can u please clear my doubt.

    • @j.unoPlaylist
      @j.unoPlaylist 8 років тому +1

      +Sonam Sharma I am confused as well. Why B is in R1?

    • @syedsamiulhuda9829
      @syedsamiulhuda9829 8 років тому +1

      +Ebru Kamış Same here I'm also confused

    • @gatridofat7158
      @gatridofat7158 8 років тому +1

      +Sami Shah the teacher is confused too.

    • @syedsamiulhuda9829
      @syedsamiulhuda9829 8 років тому +2

      haha!!!! ok Vikram Sharma

    • @kumarsahastranshu6647
      @kumarsahastranshu6647 8 років тому +15

      Becoz B is used as foreign key in R1 to make relation with R2. As we know, normalization is used to minimize the redundancy and in the given ques., the FD (B->F) is redundant attribute.
      If we remove the B from R1, we lose data of B in R1 and also lose the relation with the other attribute of R2 i.e. F. But for the given ques. all attributes must be inter-related to each other i.e. no data should be lost while normalizing or breaking the table.
      Hope u all understand...

  • @gautamdadhich3974
    @gautamdadhich3974 7 років тому +1

    thank you sir I got lot of help from tutorials.

  • @gowthamchowdaryvemuri7249
    @gowthamchowdaryvemuri7249 8 років тому

    so,the entire function to be in 2NF the relation B->F is to be removed, right ?

    • @kowsikpenamakuru2577
      @kowsikpenamakuru2577 8 років тому +1

      it is not the matter of removing B-->F, F which is a non prime attribute is showing partial dependency(BC must only give F,but B also giving F)hence it has to be removed.Hope it helps!

    • @gowthamchowdaryvemuri7249
      @gowthamchowdaryvemuri7249 8 років тому

      Thank you naga narasimha kowsik

  • @mohammedyaseenchauhan5551
    @mohammedyaseenchauhan5551 8 років тому

    AB can be count as superkey?

  • @ayzone4u
    @ayzone4u 8 років тому

    +Techtud Sir could you please elaborate how to find candidate key. As you said i already checked this..

  • @aartichilka1075
    @aartichilka1075 6 років тому

    Thank u so much... ur videos helped me a lot..

  • @shinemet
    @shinemet 8 років тому

    what kind of pen are you using? thanks :)

  • @macrobitguy1479
    @macrobitguy1479 10 років тому

    as a beginner It was hard to understand how he determined his candidate keys which makes thee rest hard to follow. Is it just an example with rules set by him?

  • @vishalsubedi
    @vishalsubedi 6 років тому

    What if more than one relation do not satisfy the fully functional dependency? @techstud

  • @arshnareshsufi
    @arshnareshsufi 9 років тому

    do we have any relation in 1NF and 2NF,3NF?????????????

  • @kukatech
    @kukatech 5 років тому

    I think you should find the ck, but also decompose R in 2nf to be clear.

  • @abhinavs2484
    @abhinavs2484 7 років тому +2

    it must be *EACH* key ri8..?

  • @SagarGupta-ho3kw
    @SagarGupta-ho3kw 8 років тому

    Q) What NF is the following R in?
    DO-> NTCRY,
    CR-> D,
    D-> N.
    plz help.

    • @kumarsahastranshu6647
      @kumarsahastranshu6647 8 років тому

      this relation will be in 1NF but if we break this relation in two diff. relations i.e. R1(DOTCRY) and R2(DN), we get R1 in 2NF form. For given ques., we get two C. Keys (DO & OCR), So, non prime attri. will be N,T,Y. In this, T & Y r fully FD on both keys but N is partial dependent on DO as D->N. So, removing this conflicting FD (D->N) from relation we get R1(DOTCRY) in 2NF form.
      I hope you got it...

  • @manishmodi8520
    @manishmodi8520 7 років тому

    show in the table format so that it will be easy to understand

  • @swetabjahazra8050
    @swetabjahazra8050 9 років тому

    Awesome, helped me for the exam........

  • @zubairkhan-yj2sk
    @zubairkhan-yj2sk 7 років тому

    sir give second normal form example like the first normal form.
    sir you give the first normal form example very clearly.if possible sir give example with tables and coloumn.

  • @andrewspencer1094
    @andrewspencer1094 8 років тому

    You don't state what R1 is at the start of the video, which makes all your good info a bit harder to understand.

  • @arshnareshsufi
    @arshnareshsufi 9 років тому +24

    i didn't get anything :(

  • @mohammedyaseenchauhan5551
    @mohammedyaseenchauhan5551 8 років тому

    and how many super key and primary key are there?

  • @ishankhandelwal2519
    @ishankhandelwal2519 4 роки тому

    Great explanation

  • @mr.509
    @mr.509 7 років тому

    can you give some example for practicing?

  • @DAVIDGUALDRON
    @DAVIDGUALDRON 7 років тому

    It would have been more clear if you were have continued with the same example you created on 1NF video.

  • @desistang8794
    @desistang8794 8 років тому

    can you u make a video with table, maybe same table as first normal form, i have an exam monday.

  • @dr.kdileepkumar7292
    @dr.kdileepkumar7292 8 років тому

    what is the conclusion of this, we can remove B--->F from the relation reply please
    ,,

  • @abhijeettorne6206
    @abhijeettorne6206 10 років тому

    what will be the keys of Decomposed relations R1 and R2?

  • @harishrao2204
    @harishrao2204 8 років тому

    sir in this example
    A-> BCDEF
    BC->ADEF
    B->F
    D->E
    CK->{A,BC}
    NPA ->{B,D,E,F} IN THIS 'F' IS NOT FULLY DEPENDENT ON CK THEN YOUR SPLITTING IN TO TWO RELATION BUT D->E ALSO NOT FULLY DEPENDENT ON CK WHY YOUR NOT CONSIDERING

    • @subhajitghosh6012
      @subhajitghosh6012 8 років тому

      +harish rao
      because D is not a part of the candidate key where as B is a part of the candidate key BC

  • @devaraj5532
    @devaraj5532 7 років тому

    E is also determined by D ....but D is not a candidate key....????but you said it satisfies 2nd NF ..how????

  • @amitshakya8806
    @amitshakya8806 9 років тому

    I didn't understand . please can you define by any example of 2NF............please sir.

  • @petter9078
    @petter9078 7 років тому

    Wooow, @ 7:49 so good. Thanks Techdude

  • @karandhingra98
    @karandhingra98 7 років тому

    why didn't u take f in r1 where as u took b in r1??

  • @rohitmondal6876
    @rohitmondal6876 7 років тому

    This confused me up.
    Why are you finding Non-Prime Attributes of both Candidate Key A,BC.

  • @rehmandogar2983
    @rehmandogar2983 7 років тому

    Sir ! sorry I didn't understand I think here you should Use DB table Example like as !st NF table or any other table which is use from first NF to BCNF

  • @mdshelahahmedrakib6613
    @mdshelahahmedrakib6613 9 років тому

    Good tutorial brother. very helpful. thnx.

  • @manishsakariya4595
    @manishsakariya4595 8 років тому +7

    BC is also a candidate key.

    • @jiaweiqiu6122
      @jiaweiqiu6122 6 років тому +1

      I was wondering that why BC is not candidate key. So this is not 2NF since B-->F?

    • @DevilOnBlueMoon
      @DevilOnBlueMoon 6 років тому +2

      exactly! i thought i was wrong.

    • @apl1mhd
      @apl1mhd 6 років тому +1

      I have the same question.

  • @aayushjoshi08
    @aayushjoshi08 10 років тому

    hey you said BC determines F but B alone also determines F doesn't the same goes for E, as D alone determines E??

    • @FaizanMohammed786
      @FaizanMohammed786 10 років тому +2

      D is not a proper subset of any candidate key, so therefore you can't consider D determines E...

    • @nairrahul
      @nairrahul 9 років тому

      Aayush Joshi For a key to be partially determined it should be a subset of candidate key and since here D is not a subset of the candidate keys(i.e A,BC) it is not a violation.

  • @BiranchiNarayanNayak
    @BiranchiNarayanNayak 9 років тому

    Excellent tutorial.

  • @sytejaswini6905
    @sytejaswini6905 5 років тому

    bro D->E the condition is unsatied right then how u say that it is in 2NF

    • @mb13579
      @mb13579 5 років тому +1

      D is not a candidate key. 2NF means no non-prime attribute should be partially dependent on candidate key

  • @kumarrajat9142
    @kumarrajat9142 10 років тому

    how can we determine this in any table plz upload this

  • @PrakashChAwal
    @PrakashChAwal 6 років тому

    It would be better if u explain with tables..

  • @vasum9740
    @vasum9740 6 років тому

    Its ok sir but i cant understand y d and e are fully functional

  • @Davidwuchi
    @Davidwuchi 8 років тому

    Sir, bc is a candidate key break the ur rules you teach us to find the candidate key

  • @rameezshuhaib6456
    @rameezshuhaib6456 7 років тому

    why is only A and BC considered as candidate key, even AB is a candidate key ??

    • @princepathria
      @princepathria 7 років тому

      if A alone can determine all attributes then why are you combining it with another attribute

  • @beverlyHillsAgent
    @beverlyHillsAgent 6 років тому

    Should R1=(A,B,C,D,E,F)?

  • @SK_24_Vlogs
    @SK_24_Vlogs 8 років тому +6

    Why you again wrote B in R1 ????

    • @rohitpotter1
      @rohitpotter1 8 років тому +5

      B is used as a foreign key to fetch the value of F from R2.

  • @donstryker5595
    @donstryker5595 6 років тому

    Well Explained, thank you

  • @joydipghosh4516
    @joydipghosh4516 8 років тому

    Why you say candidate key???
    Candidate key is the minimum super key..but here BC is not minimum,minimum is A.so why we consider A as a key?

    • @avishkargupta3294
      @avishkargupta3294 8 років тому +2

      +Joydip Ghosh BC is also mimimum. A is not a subset of BC. Mimimum only means that no subset of key should be a key itself. So ABC will be a superkey, A will be a candidate key, and BC will be the other candidate key. Primary key is chosen from the candidate key set, i.e. there can be more than one candidate key. You are confusing candidate key and primary key I think. Both A and BC were considered as CK's.

  • @Abhishek-jc8bi
    @Abhishek-jc8bi 8 років тому

    Really good job but can improve a lot in giving example to teach the topic.

  • @hogirpd462
    @hogirpd462 8 років тому

    I did not understand, can you explain with another example?

  • @saipravallikapolukonda1816
    @saipravallikapolukonda1816 8 років тому +1

    here d is not a canditate key and it determines e how e satisfies the condition

  • @souviksarkar6891
    @souviksarkar6891 8 років тому

    why did you write B in R1 again ??

  • @another.nikhil
    @another.nikhil 8 років тому

    What would be the final answer?

  • @midgitwookie
    @midgitwookie 7 років тому

    Hello beautiful friends, it is me GOFF

  • @SaahilShaikh
    @SaahilShaikh 6 років тому

    He should've explained it with an example of tables!

  • @sureshguruvelli785
    @sureshguruvelli785 8 років тому

    if explain with tables for 2'nd NF, we can better understand

  • @rumiulfath
    @rumiulfath 9 років тому

    Shouldn't there be 3 relations formed in order to be in 2NF?
    R1(A,B,C,D,E)
    A->BCDEF
    BC->ADEF
    R2(B,F)
    B->F
    R3(D,E)
    D->E

  • @tarunbhatia1042
    @tarunbhatia1042 9 років тому

    why would AB will not be a candidate key ?

    • @Edredo
      @Edredo  9 років тому +6

      +Tarun Bhatia Because it's proper subset "A" is already a candidate key.
      Please ask doubts on techtud.com

    • @jitendramandalia6025
      @jitendramandalia6025 7 років тому

      Techtud please explain me the above first normalization form example .
      in second normalization

  • @ramkumarj4216
    @ramkumarj4216 9 років тому

    Plz explain this tutorial by using table

  • @jyotsnachoudhary9202
    @jyotsnachoudhary9202 8 років тому

    why F is not in R1??

  • @victorkosgei2343
    @victorkosgei2343 9 років тому

    try and use illustration. it will server better. good tutorial tho. thanks!

  • @jauharansari6919
    @jauharansari6919 5 років тому

    Please use the table

  • @Pranav27797
    @Pranav27797 6 років тому

    I cant Understand ...Please do another video completely explaining it again in an easy way

  • @gambhavaarunbhai9895
    @gambhavaarunbhai9895 5 років тому

    Best lecture but d holds e than is not fully fd beacuse d is not condidate key

  • @rishabhrastogi3933
    @rishabhrastogi3933 8 років тому

    but why B is present in R1?

    • @rohitpotter1
      @rohitpotter1 8 років тому

      B is used as a foreign key to fetch the value of F from R2