Тёмный

Lec 11: Second Normal Form in DBMS | 2NF in DBMS | Normalization in DBMS 

Jenny's Lectures CS IT
Подписаться 1,7 млн
Просмотров 513 тыс.
50% 1

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 341   
@rakeshpatel3683
@rakeshpatel3683 4 года назад
She never ask for like and subscribe . She simply teaches her subject so rare these days. Lots of love from all students mam.
@yarravenkat3882
@yarravenkat3882 4 года назад
yes
@isaitech4602
@isaitech4602 3 года назад
🥺❤️💯
@stackritesh
@stackritesh 2 года назад
true
@ranjiniramachandran629
@ranjiniramachandran629 2 года назад
@@stackritesh true
@shashikarkandikonda5582
@shashikarkandikonda5582 2 года назад
Ok
@tirtharajdas2165
@tirtharajdas2165 3 года назад
the answer for the homework--> AC is the candidate key but relation is not in 2NF, because A is proper subset of AC(candidate key)and A->B, where B is non prime attribute.
@subhamkumarsah7885
@subhamkumarsah7885 2 года назад
To make it into 2NF we have to divide it into 2 table ABD and AC right?
@HarshYadav-qz2bm
@HarshYadav-qz2bm 2 года назад
@@subhamkumarsah7885 yes bro
@akashsharma2216
@akashsharma2216 2 года назад
bro h b....k....l
@mohamedsahilali8809
@mohamedsahilali8809 Год назад
thank you bhai kabhi mile toh mere se 20 rupay le lena 😊😊😊😊😊😊😊😊
@ALLINONE-yu9bu
@ALLINONE-yu9bu 8 месяцев назад
right answer bro
@peerless3538
@peerless3538 2 года назад
Jenny mam you are the only one who teach in a better and simple way.......still your videos worthy......thank you so much.....🥺💕
@Yashkyk
@Yashkyk 5 месяцев назад
Hey ,in 1st example we are getting. Baf,caf,daf,eaf candidate keys right
@exclusivefacts8956
@exclusivefacts8956 3 года назад
Am lucky to found your channel,because i found all topics which i wanna learn with a fabulous explanation
@Yashkyk
@Yashkyk 5 месяцев назад
Hey ,in 1st example we are getting. Baf,caf,daf,eaf candidate keys right
@ScottTrogam
@ScottTrogam 3 года назад
This is hands down some of the best videos on databases I have come across.
@shashwatjha9491
@shashwatjha9491 4 года назад
The question with R(A,B,C,D) FD:{AB->CD , C->A , D->B } There will be 4 candidate keys AB , AD , BC , CD. Timestamp : 15:50
@angelpreethi5813
@angelpreethi5813 4 года назад
S mam I'm also getting 4 CK's
@tejaswigopaladasu7372
@tejaswigopaladasu7372 4 года назад
then why in video she got 3 candidate keys
@MansiJain-qv1lz
@MansiJain-qv1lz 4 года назад
Yes there will be 4 CK according to me too.
@Logan-vd1kf
@Logan-vd1kf 4 года назад
Follow the rules.
@sayyidiskandarkhan3064
@sayyidiskandarkhan3064 3 года назад
she missed out 1 more...
@arinrahman8368
@arinrahman8368 2 года назад
1NF: Each attribute should contain atomic values A column should contai value from the same domain Each column should have unique name No ordering to rows and columns. No duplicate rows. 2NF: It must be 1NF No Patial dependency in the relation (Partial dependency occurs when the left hand side of a candidate key points non-prime attributes) 3NF: It is in 2NF No transitive dependency for non-prime attributes (To be non transitive and 3NF atleast one of these must be true: Either the left handside of funtional dependency is superkey or the right handside points to a prime attribute) BCNF: A relation is BCNF if it is 3NF For each functional dependency there must be a super key
@satyamkalyane6841
@satyamkalyane6841 2 года назад
In 2NF(partial dependency --> left hand side proper subset of candidate key not candidate key itself)
@akashsharma2216
@akashsharma2216 2 года назад
I LOVE YOU
@sriramkrishnamurthy4473
@sriramkrishnamurthy4473 2 года назад
@@akashsharma2216 Behen ke lawde 🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣 comment section me bhi flirt maarne aa gaya tu bkl 😁😁🤣🤣
@suzz4668
@suzz4668 Год назад
@@akashsharma2216 padhai pe dhyaan de
@tubakzgn1102
@tubakzgn1102 Год назад
Some heroes do not wear capes.
@koraykara6270
@koraykara6270 4 года назад
Only AC is a candidate key ,prime attributes are {A,C} and the relation is in 1NF but not in 2NF because of the partial dependency (A -> B)
@andreiardelean5712
@andreiardelean5712 4 года назад
asa am calculat si eu si mi a dat bine, bafta la examen!!!
@subhamdhar8196
@subhamdhar8196 4 года назад
Correct
@roqayamuhammad7867
@roqayamuhammad7867 4 года назад
I'd highly appreciate it if anyone can HELP me. I have an assignment to normalize a table. The issue is I wasn't provided FDs or any keys. So how and where to start. ( I did find four FDs, not sure though if they're right or not). What to doooo ????
@mohandattabayya5584
@mohandattabayya5584 3 года назад
yes
@heretojustvibe5760
@heretojustvibe5760 2 года назад
Yessss
@subhashrao7996
@subhashrao7996 4 года назад
Not in 2nd normal form because ck={A,C} and A->B .here is an partial dependency
@manishjoshi9737
@manishjoshi9737 3 года назад
Shut up
@mmrtech5495
@mmrtech5495 3 года назад
correct
@aviralkhanduja5834
@aviralkhanduja5834 3 года назад
one correction AC is candidate key
@aditirai1909
@aditirai1909 3 года назад
If only one FD is partial then also it's not in 2NF?
@rishavhimmatramka7804
@rishavhimmatramka7804 3 года назад
@@aditirai1909 Yes, if even one FD is partial, then its not in 2NF
@Raj3486
@Raj3486 3 года назад
CK = AC, Non Prime Attributes={B,D} A+ ={A,B,D} € Non Prime So Partial Dependency Implies R is not in 2NF
@Yashkyk
@Yashkyk 5 месяцев назад
Hey ,in 1st example we are getting. Baf,caf,daf,eaf candidate keys right
@waseemakramkhan7093
@waseemakramkhan7093 4 года назад
Good Evening Ma'am, ur explaination is very helpful and understandable, Thanks alot. Plz make complete videos on SQL's numericals, Transaction management & Concurrency and File Structure Last Question which is given by you in 2nd Normal Form Lecture ....The answer would be the given relation, R(A, B, C, D) & F.D.={A->B, B->D} is not in 2nd Normal Form
@ashankavindu2409
@ashankavindu2409 3 года назад
madam obviously I don't know how I thankful to you....I'm speechless about this service....God bless you madam...great English pronunciation and well explained.....much love you madam.....
@Touay
@Touay 3 года назад
Watching from Kashmir !!! Tommorow iz my Dbms viva!!! Jenny's ma'ams videos helped me alot!!!
@varunsaproo4120
@varunsaproo4120 3 года назад
People like you make gate preparation much easier. Thank You very much for your efforts Ma'am. Stay Safe :)
@Salehalanazi-7
@Salehalanazi-7 4 года назад
God bless you. You're an amazing teacher!
@samsons8279
@samsons8279 Год назад
Answer for exercise at 20:14 Partial Functional dependency exists which is A--> B Because A is a proper subset of the candidate key AC , and B is a non-prime attribute. Can't thank u enough Jenny ma'am !! 🤩🙌 The videos on Normalization are just amazing.. !! ✨🙌
@abdullaharean257
@abdullaharean257 Год назад
The question with R(A,B,C,D) FD:{AB->CD , C->A , D->B } There will be 4 candidate keys AB , AD , BC , CD. Timestamp : 15:50 Details Explaination: Classification of the attributes: +-------------+---------+---------+----------+ | I(isolated) | L(left) | B(both) | R(right) | +-------------+---------+---------+----------+ | - | - | A,B,C,D | - | +-------------+---------+---------+----------+ Union of I and L: Computation of the closure of the attributes from Step 4 Attributes on the both side of FD: A,B,C,D Compute the closure of the combination of the power set of B(both) and . A⁺ = A ⊂ R B⁺ = B ⊂ R C⁺ = AC ⊂ R D⁺ = BD ⊂ R We have not found any candidate keys by adding one-element sets to AB⁺ = ABCD = R (candidate key) AC⁺= AC ⊂ R AD⁺ = ABCD = R (candidate key) BC⁺ = ABCD = R (candidate key) BD⁺= BD ⊂ R CD⁺ = ABCD = R (candidate key) Adding any other attribute leads to a superkey. Hence, ['AB', 'AD', 'BC', 'CD'] are the (only) candidate keys. AB, AD, BC, CD
@wendixiao9275
@wendixiao9275 Год назад
the way she teaches definitely way better than the prof teach in my class, love it!!!
@KayYesYouTuber
@KayYesYouTuber 3 года назад
Hi Jenny, you take so much effort to explain things. I like your videos very much. But for this particular video, you can take a practical example like orders database to explain partial dependence. That would have made things easier to understand.
@trinidadbosch8792
@trinidadbosch8792 2 года назад
I LOVE YOU!! I'm 4 days away from my exam and FINALLY, I have the whole clear picture.
@tubakzgn1102
@tubakzgn1102 Год назад
Answer of last example question: We obtain AC closure as candidate key which shows us the FD is not in the 2nd normal form. Perfect explanation, thank you very much
@angshumanpaul999
@angshumanpaul999 4 года назад
The whiteboard at time brighten up way too much, I know its because of the lighting, but at times it becomes too bright that my eyes start paining. Except this, you are one of the best tutors on youtube.Thankyou for helping thousands of students in need.
@vaibhavsharma399
@vaibhavsharma399 3 года назад
our country needs selfless teacher like her
@shreyaskelapure7639
@shreyaskelapure7639 День назад
mem ye bohot aache bat hain ki hamare college ke lecturer aapke video dekhe padhate hain
@sasikalav5058
@sasikalav5058 3 года назад
Your explanation is very nice madam... i am following your lectures daily... Thank you very much for providing these lectures to us...
@Julia-xl7pr
@Julia-xl7pr Год назад
finally understood 2NF.... can't believe this can be explained in such easy to understand way. thank you!
@AdamHarrisongpl-projx
@AdamHarrisongpl-projx 3 года назад
These videos are like an emerald in a coal mine.
@banyaroo8691
@banyaroo8691 4 года назад
The explanation is crystal clear !!!!!!!!!!! Thank You !!!!!!!!!
@sivaranjanis3655
@sivaranjanis3655 4 года назад
Your lecture is pakka...I loved it..I was searching so many video regarding normalization today I got the concept..thank you mam
@Yashkyk
@Yashkyk 5 месяцев назад
Hey ,in 1st example we are getting. Baf,caf,daf,eaf candidate keys right
@rajnarayanshriwas4653
@rajnarayanshriwas4653 2 года назад
I think in the second example CD is also a candidate key along with AB, CB and AD.
@feyzanur8860
@feyzanur8860 3 года назад
Thank you for your all efforts, I can easily understand all these complicate things.
@atj8697
@atj8697 4 года назад
All I can say is thank you
@keycode_302
@keycode_302 Год назад
your videos are very helpful mam
@khushbookumari-so8dt
@khushbookumari-so8dt 4 года назад
There is only 1 Ck key i.e AC. In the question, there is a partial dependency on A->B that's why this is not in 2NF.
@ritwikdurga3855
@ritwikdurga3855 8 дней назад
8:44 "super key is super key" lmao
@eagle_shadow6665
@eagle_shadow6665 2 года назад
Your explanation is great ful thank you so much mam 💫👌😊🤗
@abhishekkr1133
@abhishekkr1133 3 года назад
2:30 start
@vaibhavjaviya6100
@vaibhavjaviya6100 3 года назад
Question :- R(a,b,c,d) FD={A--->B, B---->D} Answer:- not in 2nd normal phone because PA={a,c}
@FINANCIALYOGI
@FINANCIALYOGI 4 года назад
AC is only CK, PD exists as A,C are PA. B,D are NPA. A as subset of AC determines NPA B and D. Therefore PD exists and not in 2NF. Kindly advise if correct. Thank You.
@ITACHIitachiitachi-y7v
@ITACHIitachiitachi-y7v 14 дней назад
Happy teachers day mam
@mq4950
@mq4950 4 месяца назад
Ans. Of hw question is Not in 2nd NF ❤❤❤ Amazing lecture
@srujan099
@srujan099 4 года назад
ma'am @ 15:41 replace B with D in CB ( since FD : D --> B) we will get another C.K i.e., CD therefore total 4 C.K's... thank you ma'am .
@bense_tony
@bense_tony 3 года назад
yup
@virendrakumarshukla8848
@virendrakumarshukla8848 2 года назад
Yes
@ARK1010-cl8fd
@ARK1010-cl8fd 4 месяца назад
AC is the only candidate key. The prime attributes are A,C. It is not in 2NF because A->B also A->D(transitive) .
@rizwanreshi8673
@rizwanreshi8673 4 года назад
Ur nice mam u r so gd in teaching, lv u mam
@rizwanreshi8673
@rizwanreshi8673 4 года назад
Sory it is u r
@shivalikagupta3433
@shivalikagupta3433 3 года назад
not in 2NF because {AC} is candidate key , hence non prime attributes are {B,D} and {A->ABD} (by transitivity), which is partial dependency . But partial dependency cant exist in 2NF.
@D1STANG3R
@D1STANG3R Год назад
As a computer engineering student, if Indian guys don't exist, probably I wouldn't learn anything about computer technologies :)
@SonamYadav-ux8yj
@SonamYadav-ux8yj 3 года назад
Best teacher ever🤩🥰
@MaheriMihirima
@MaheriMihirima 2 года назад
In last example R(A,B,C,D) F.D={A->B, B->D} here Ck={AC}, P.A={A,C}, non prime attribute={B,D} , partial dependency is present. so this is not 2NF. But I have a question which is partial dependency A->B or A->D ??
@rahulrudra5339
@rahulrudra5339 4 года назад
Very nice method of teaching.....
@bhandarisoniya2580
@bhandarisoniya2580 4 года назад
There is only 1 CK i.e . AC having PA (A,C ) and it's not in 2 NF becoz of PD of (A> B ) which is PA of our AC (Candidate key ) .
@babytoy2333
@babytoy2333 Год назад
Sorry ma'am! In 2nd example there are 4 cks here AB is equivalent to CD cos C=>A and D=>B that why A can be replaced with C n B with D now thus we'll get CD too
@rohitdatta4549
@rohitdatta4549 5 месяцев назад
Your lecture is too much good👌👌👌👌
@Yashkyk
@Yashkyk 5 месяцев назад
Hey ,in 1st example we are getting. Baf,caf,daf,eaf candidate keys right
@meghalpatel8195
@meghalpatel8195 4 года назад
waooo great lecture ...i can watch on dbms last question ans : not second form
@EvancePatrick-y7p
@EvancePatrick-y7p 2 месяца назад
I am answering the question you've asked in second normal form...my answer is, yes that relation is in second normal form
@harshverma9488
@harshverma9488 4 года назад
Ma'am in second example you said AB is a candidate key and also AB->CD, C->A, D->B then if we replace A to C and B to D then CD is also a super key? Is it a candidate key ?? As per i understand the concept it is a candidate key if i am wrong then plz clear my doubt.... also i want to tell you are an amazing teacher your lessons are helpful to me...thank you so much❤🌸
@knowledgemaster5049
@knowledgemaster5049 4 года назад
Excellent way of teaching.
@Meditation987
@Meditation987 Год назад
Ma'am you are pretty and your teaching method is very impressive
@knowledgemaster5049
@knowledgemaster5049 4 года назад
Not in second normal form. Because of partial dependence A->B.
@mansikumari3917
@mansikumari3917 6 месяцев назад
but in the second last example there is a partial dependency so it should not be in 2NF
@KONETI__LOKESH
@KONETI__LOKESH 7 месяцев назад
No R(A,B,C,D) Not in 2 NF Because here there is only one. Candidate key which is AC prime attributes are A,C The proper subset A determining the non prime attribute so it follows partial dependency So it is not in 2NF
@lewishoanglong1610
@lewishoanglong1610 4 года назад
Very easy to understand, thank you Jenny
@saptarshicse0735
@saptarshicse0735 3 месяца назад
Thank you so much Madam😍😍😍😍😍
@csboi5235
@csboi5235 2 года назад
notes : definition and example : 6:10 12:00 varaikum paaru
@LagGamers143
@LagGamers143 2 года назад
1 million subs very soon🥳
@suresh.suthar.24
@suresh.suthar.24 Год назад
best video for 2nf
@vishaltrivedi540
@vishaltrivedi540 3 года назад
@15:45 I think there can be four candidate keys AB, CD, CB, AD. Please correct me if I am wrong. Thanks in advance.
@HemanthKumar-if8vu
@HemanthKumar-if8vu 3 года назад
yeah its actually 4 CK, but she stopped because, she found out that CK={AB,CB,AD} is enough for answering it as in 2NF.. how? by that time CK={AB,CB,AD} she noticed that PrimeAttributes={A,B,C,D} - which has all the attributes in the given relation and hence no possiblity of getting non prime attributes by the subset of CK(even from following any iteration of finding CKs)
@deryasonmez2524
@deryasonmez2524 3 года назад
@@HemanthKumar-if8vu If CD is candidate key, it wouldn't be 2nf as it defines C-> A? I think going to this partial dependence. . Please correct me if I'm thinking wrong
@miasevda4728
@miasevda4728 3 года назад
@@deryasonmez2524 but A is a prime attribute , what you say is the rule of the 3rd forme , so the relatio is not in the 3rd forme
@myyoutubeisthis
@myyoutubeisthis 2 года назад
Ma'am thank you thank you thank you very very much 🙏🏻
@AjayThakur-zb3ee
@AjayThakur-zb3ee 4 года назад
Ma'am u are looking so beautiful. And thanks alot for this lacture
@shivam7164
@shivam7164 Год назад
Ac is candidate key and not in 2nf because a->b where a is a proper subset of candidate key which implicant b ie the non prime attribute. In this case prime attributes are ac and non prime attributes b and d
@afiraarifa1306
@afiraarifa1306 4 года назад
You are a wonder... Thank you ma'am
@novaira9186
@novaira9186 3 месяца назад
Given a relation R( P, Q, R, S, T, U, V, W, X, Y) and Functional Dependency set FD = { PQ → R, PS → VW, QS → TU, P → X, W → Y}, determine whether the given R is in 2NF? If not convert it into 2 NF. could you solve it mam please?
@kiranjha574
@kiranjha574 4 года назад
Candidate keys :- AC, AB Prime attributes :- A,B,C Non-Prime attributes :- D So there partial dependency exist So this relation is not in 2NF Am i right Ma'am ?
@kushagrapandey6257
@kushagrapandey6257 4 года назад
AB is not a primary key, from AB we can get {A,B,D} but not C, Still not in 2nd normal form as A-->B
@kiranjha574
@kiranjha574 4 года назад
@@kushagrapandey6257 Ohhhh🤦🏻 mistake Yes you are right. Thanks🙂
@raninira5237
@raninira5237 4 года назад
@@kushagrapandey6257....i got.... it is in 2nd normal form
@madhumithaa7966
@madhumithaa7966 4 года назад
In second example you stated as 3 Candidate keys,But we have 4 Candidate keys,AB,CB,AD,CD
@shyamprakashm6325
@shyamprakashm6325 4 года назад
No You miss the key ..after candidate key has found you should check whether the primeattributes of the candidate key is present in the given dependencies ...in this manner , we should get .
@madhumithaa7966
@madhumithaa7966 4 года назад
@@shyamprakashm6325 thank you
@vivek-rathod
@vivek-rathod 3 года назад
15:54 mam we have one more CK that is CD ?????? I m confuse mam BTW thank you mam for amazing explanation I am learning so many things from your videos 👍
@fayazmd
@fayazmd 3 года назад
Can u please share your solution? Coz I am getting only 3 ck. Either (AB,BC,CD) or (AB,BC,AD).
@neelanjanghosh1586
@neelanjanghosh1586 3 года назад
@@fayazmd bhai from B can be replaced by D as there is a FD given , so AD
@MonkeyD.3892
@MonkeyD.3892 Год назад
Thanks Mam Amazing Video 🙏🙏
@virendrakumarshukla8848
@virendrakumarshukla8848 2 года назад
AC is Ck but the relation is 1nf not 2nf because A->B is partially dependent and also exist non -prime attributes.
@starultra2863
@starultra2863 Год назад
For 15:51 example, Won't CD be also a candidate key ??????????????????????????????????
@Shrutiii8
@Shrutiii8 7 дней назад
In the first video of ck of playlist , she gave the same question for homework and she told answer is AB,AD,BC,CD are ck so i think therre are 4 cks not 3 ck
@Mohammad_raza_01
@Mohammad_raza_01 Год назад
If there would be oscar in Teaching then mam will definetly get the award
@AkshayAnil0-1
@AkshayAnil0-1 3 года назад
AC is the CK, and A->B ; partial dependency exists: therefore,, its not 2NF.
@DQuranJar
@DQuranJar 3 года назад
15:50 The candidate keys will be AB , AD , BC , CD, C, D right? I mean AB -> C and AB -> D Proper subset of C is phi as well as D. Therefore, C and D are candidate keys?
@ayushigoyal6853
@ayushigoyal6853 3 года назад
No through COMPOSITION rule,A->C and B->D
@stanhacks3850
@stanhacks3850 2 года назад
Vere level......💥
@jay-rathod-01
@jay-rathod-01 4 года назад
Excuse me ma'am, how long would it take to complete the playlist of dbms as well as OS . If possible please lemme know the dates . Regards, Jay
@selomenebit5153
@selomenebit5153 8 месяцев назад
Thank you jenny 🥰
@kummarguda
@kummarguda 2 года назад
I am surprised that you did not give a practical example using a table and attributes
@rahulvarma7257
@rahulvarma7257 3 года назад
Mam thank you so much the video was really helpful. And the last problem is not in second normal form,please reply for this mam it would be great help for me
@rightwinger2709
@rightwinger2709 4 года назад
Mam the question you are solving at 18:18 is not in 2nd normal form perhaps. It contain two CK {A,AB} and B is pointing to non-prime attribute....
@altinarexha6134
@altinarexha6134 4 года назад
In the second example you used the one from hw in Part 1 finding candidate key.. But the result is different from there, I have doubts which one is correct please
@saipavankumar4498
@saipavankumar4498 3 года назад
Hi I think only three candidate keys
@tehlion7430
@tehlion7430 Год назад
what's the difference between the candidate key and prime attributes? (9:07)
@saikatpatra4239
@saikatpatra4239 4 года назад
only AC is the candidate key and there is partial dependency exists in the relation corresponds to A->B and therefore the relation is not in 2nf.
@gyanaranjansahoo2872
@gyanaranjansahoo2872 2 года назад
Love you ma'am
@RitikKumar-km5io
@RitikKumar-km5io 7 месяцев назад
Thank you Mam🙏❤!
@ashwinichandrachar
@ashwinichandrachar 2 года назад
Thanks
@lekesanusi751
@lekesanusi751 2 года назад
The answer to the question : R(A,B,C,D) f.d> (A->B, B->D) is that it is not in second normal form. Because "A " proper subset of CK(AC) determines non prime attribute "B" i.e A->B. There exist p.d
@ArvindSingh-wj7vy
@ArvindSingh-wj7vy 4 года назад
It is not in 2NF. Am I right?
@summaiyafatima3368
@summaiyafatima3368 3 года назад
Yes ur ryt
@neelanjanghosh1586
@neelanjanghosh1586 3 года назад
yes
@poonam2430
@poonam2430 Год назад
In question 2nd CD is also candidate key
@shaunsoans6463
@shaunsoans6463 11 месяцев назад
God bless you mam
@harman_made
@harman_made 2 года назад
Good explanation
@preetamvarun9219
@preetamvarun9219 11 месяцев назад
Thank you ❤
@hudaharoon5367
@hudaharoon5367 2 года назад
Thanku soo much mam ❤️❤️❤️❤️
Далее
Pixtral is REALLY Good - Open-Source Vision Model
11:15
Java vs C++ | Which Coding Language to learn for DSA
13:18
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34