Lecture 11: Why We Need Normalisation ? || DBMS Series for Placements

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

КОМЕНТАРІ • 160

  • @TheBaljitSingh
    @TheBaljitSingh 2 роки тому +72

    47:51 pe yaha ye B->C (c prime attribute kaise ho ja raha hai?????)

    • @the_sky_fire
      @the_sky_fire 2 роки тому +26

      C prime nahi non-prime attribute he hai...Bhaiya ne galti se boldiya ...Next dekho jab 3NF convert karenge ...B is Prime attribute determining C (non-prime attribute).
      Aage Video me dekho 50:40 se 50:54 tak he will mention correctly tab B->C non-prime to non-prime hatana hota hai bolke.

    • @lakshaykumar7518
      @lakshaykumar7518 2 роки тому +18

      Thanks Akash for the clarification :)
      It was a miss!

    • @the_sky_fire
      @the_sky_fire 2 роки тому +4

      @@lakshaykumar7518 Thank you Bhaiya for Considering and pinning it to the top.

    • @TheBaljitSingh
      @TheBaljitSingh 2 роки тому +4

      @@the_sky_fire aachna bhiya ne aage cover kiya hai.. mai confuse ho gya aur yahi pe video rok ke sochne laga.. but bhiya ko thanks for pinning my comment

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

      Can anyone suggest a video on how to find normal form

  • @khanalnischal1488
    @khanalnischal1488 2 роки тому +27

    00:00 - What is Functional Dependency?
    11:00 - Armstrong's Axioms
    18:30 - Why Normalisation is necessary?
    20:00 - Anomalies due to redundant data
    22:00 - Insertion Anomaly
    25:00 - Deletion Anomaly
    26:30 - Updation Anomaly
    31:10 - What we actually do in Normalisation?
    33:12 - Types of Normal Forms
    33:15 - 1NF
    35:55 - 2NF
    44:45 - 3NF
    50:00 - BCNF

    • @subhajitdey135
      @subhajitdey135 Рік тому +1

      Thanks brah

    • @ompat1l
      @ompat1l Рік тому +2

      background mai cat ka timestamps bhi dawdle

  • @lokeshnegi5051
    @lokeshnegi5051 2 роки тому +11

    all those topics were like so tough during cllg days but u made it so much easier thank u so much.

  • @ArpitAgrawal-nr7uc
    @ArpitAgrawal-nr7uc 3 місяці тому +2

    Examples helped a lot, I did not find a better explanation than this on UA-cam. Thanks

  • @ChintuCodes
    @ChintuCodes 2 місяці тому

    i have completed this whole series a month ago and now i'm here again just to revise the concepts for my sem examss. lakshay bhaiya literally nailed this complete series muuch love !!!!!

  • @prateeksomani9239
    @prateeksomani9239 11 місяців тому +11

    56:30 . There is redundancy in the Professor table , Since, A non-prime attribute (Professor) can determine another non-prime attribute (Subject) as there is constraint ," Each professor will teach only single subject " and only P-id is the Primary Key. Please Explain this or Correct me if I am wrong.

    • @anshumaan1024
      @anshumaan1024 5 місяців тому

      yeh toh mene bhi nhi dekha, fir toh yeh example, BCNF nhi hoga, kyoki yeh 2NF hi nhi hai 🤔

  • @imnotakash
    @imnotakash 10 місяців тому +4

    47:50 bhaiya aapne bola hai ki non - prime attribute should not find no-prime attribute but aapne explain krte time bola ki ek non-prime attribute determine the prime attribute

  • @gamingmarvelz1504
    @gamingmarvelz1504 Рік тому +3

    Explained so clearly with examples❤, just got better idea in dbms which i wasn't when i learned it in clg1 year back

  • @leekhnna9808
    @leekhnna9808 2 роки тому +8

    Waiting for next videos bhaiya, my placement season is going on , and i am mostly dependable on this series for dbms .. !!

  • @MdSufiHussain
    @MdSufiHussain 2 дні тому

    56:30 I think the resultant decomposed table of prof_id, prof, subject violates 3NF so we again can decompose it into two tables one containing prof_id, prof and other one as prof_id, subject with prof_id being the primary key here.

  • @lalit-singh-bisht
    @lalit-singh-bisht Рік тому +8

    56:45 there we can get the subject_name from professor meaning nonprime ->nonprime, isn't that a redundancy

    • @DeepakKumar-xj4ul
      @DeepakKumar-xj4ul Місяць тому

      both student_id , subject has take as primary key hence non prime attribute is determining prime attribute which comes under 3NF. see again in video.

  • @autismo1969
    @autismo1969 Рік тому +3

    THANKS A LOT FOR THIS SERIES GUYS. REALLY HELPED. 🙏🙏

  • @nitesh.0110
    @nitesh.0110 Рік тому +6

    56:30, but here in professor's table, professor(no-prime) attribute can determine subject(non-prime) attribute, thus it's not following 3NF, right??

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

      yeah, i also thought that, you are right

    • @tusharverma4202
      @tusharverma4202 Рік тому +1

      I think Professor id shouldn't appear in the tables and Professor should become P.K in that table.

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

      @@tusharverma4202 then partial depencency b/w p_id and subject would exist

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

      also using professor you can find pid which not full fill bcnf

    • @MuhammadAsif-xe7es
      @MuhammadAsif-xe7es 8 місяців тому

      Not possible bcoz professor can teach only one subject but subject belongs to the multiple professors
      Thus you can't find subject with a professor's name.

  • @sukhjitsingh959
    @sukhjitsingh959 2 роки тому +3

    thanks for this DBMS series video Sir and expecting the DP series to come with more videos soon...

  • @OmkaraEditz
    @OmkaraEditz 10 місяців тому +2

    56:42 yaha pe professor->subject also exists so the 3NF condition is violated??

  • @sadaf_r
    @sadaf_r Рік тому +1

    well explained...i completely understood this normalisation concept...thank a lot brother.

  • @krishraj1942
    @krishraj1942 Рік тому +3

    16:00 pe B--> C is possible

  • @ayushp4471
    @ayushp4471 Рік тому +2

    Thank you bhaiya for your efforts and your explanation is the BEST❤

  • @shubhammishra324
    @shubhammishra324 Рік тому +1

    Thank you for the lecture, it really helped me a lot. Wonderful work.

  • @himanshigarg1431
    @himanshigarg1431 6 місяців тому +1

    there is a white cat in his background 6:46....thank you sir for lecture

  • @ShubhamDas-js2kx
    @ShubhamDas-js2kx 2 роки тому +6

    at 56:08 in student table id (prime attribute ) having redundant values {101,101} which is not allowed in prime attribute how we can remove redundancy from here..

  • @worldofficials9532
    @worldofficials9532 Рік тому +3

    55:00 sir in student prime attribute (id) , how it can detetmine 101 and 102

  • @UECAshutoshKumar
    @UECAshutoshKumar 29 днів тому +1

    Thank you 😊

  • @dhruvarora8136
    @dhruvarora8136 2 роки тому +2

    Bhaiya ek telegram channel ka discuss group bnado

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

    Great Teaching Method Bhaiyya
    Sab samaz mei agaya

  • @amanrubey
    @amanrubey 2 роки тому +1

    Lakshay Sir is like God to me

  • @tusharverma4202
    @tusharverma4202 Рік тому +2

    At 16:04, Can we not do it like this?
    CD->E, and E->A thus CD->A (using transitive property.)
    Now, we have BC->A thus BC->B (from 1st relation).
    Then using reflexive property, as B is a subset of BC, we have a trivial functional dependency.

  • @Amit_iPhone_shorts
    @Amit_iPhone_shorts 2 роки тому +4

    At 41:37 B kaise determine kri hai c ko in 2NF realtion 2. B to null hai
    A --> C Hona chaiye na .

    • @0xhans
      @0xhans 6 місяців тому

      we make B a primary key in another table, then we can't set it to null.

  • @ChintuCodes
    @ChintuCodes 3 місяці тому

    46:34 how c is fully determined by PK ?? since the PK of the table is A whereas C is determined by B. I know A->B but i think B->C should be a partial dependency

  • @saurabhkumarsingh9550
    @saurabhkumarsingh9550 Рік тому +4

    BCNF is not clearly taught.

  • @rituraj8630
    @rituraj8630 5 місяців тому +1

    56:30 student table me s_id PK kaise ho skta hai because it should be unique and NOT NULL?

  • @kailanirochellla2006
    @kailanirochellla2006 2 роки тому +1

    aap jaies teacher aur god student ke liye ek saman hote hai
    love you CodeHelp - by Babbar ❤❤❤❤❤❤✔✔

  • @divyanshujindal8673
    @divyanshujindal8673 Рік тому +5

    56:08 pe jo BCNF ke baad 2nd table h(Professor) usme 2NF toh abhi bhi exist kr rhi h kyunki professor(non prime) se subject(non prime) could be calculated.
    can anyone explain ?

    • @anshumanrout2739
      @anshumanrout2739 Рік тому +1

      professor yahan non prime hai . And you are correct . The non prime is determining non prime , which is the case of 3NF and also 2NF . The solution should be either pid hatado aur professor ko prime kardo ya professor name hi hatado

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

      Yeah correct And start mai hi PK stu_id aur Proff aayega not {stu_id,subj} so BCNF wala case banega hi nhi but usme 2NF wala case hojayega of partial dependency

  • @0708Sunshine
    @0708Sunshine 2 роки тому +4

    Thank you for all the effort. It is highly appreciated

  • @akash-jpeg
    @akash-jpeg Рік тому +1

    Day 11 - Present Sir❤

  • @abhishekkeshri3974
    @abhishekkeshri3974 Рік тому +1

    the cute cat behind you ...........😅😅😅😅

  • @VishalSharma-zu2vp
    @VishalSharma-zu2vp 2 роки тому +4

    Thanks For Teaching DBMS ❤️

  • @sureshsodha4737
    @sureshsodha4737 2 роки тому +3

    Sir,how to company decides package during the placement?

  • @user-dz3ex7en7e
    @user-dz3ex7en7e Рік тому +1

    8:36 please show the cat behind you

  • @heromunfa9317
    @heromunfa9317 2 роки тому +1

    Bahi dsa series continue kren plzz

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

    if a is subset of b does not imply that their intersection is zero A -> ABC here ABC is not a Subset of A and intersection is non zero as well in what category will we put it trivial or non trivial

  • @aaravkumar1308
    @aaravkumar1308 2 роки тому +1

    Amazingly well explained . Thanks a lot Lakshay Bhaiya ..>

  • @shubhambarange
    @shubhambarange 2 роки тому +1

    The way of explanation is very amazing

  • @rajeshs1951
    @rajeshs1951 2 роки тому +1

    Thanks bhaiya 🙏

  • @AryanJC07
    @AryanJC07 9 місяців тому

    Ek dam kadak❤

  • @ASMR-bu8qc
    @ASMR-bu8qc 4 місяці тому

    In 2NF, all the non-prime attributes must depend on prime attributes and non-prime attributes can not depend on the part of PK. So, in the student-project example in 2NF, how if project_name and project_id forms a relation? Isn't it invalidating the concept of 2NF?

  • @sahilsingh5695
    @sahilsingh5695 4 місяці тому

    17:56
    CD->A ok CD->C ok.......CD->AC (AC whole another combination nahi hogya) ma dimag ma image nahi bna paa rha hu...if you can explain more about this.

  • @aishwaryavishwanath3806
    @aishwaryavishwanath3806 2 роки тому +1

    You guys are amazing

  • @sayandeepsoren361
    @sayandeepsoren361 4 місяці тому

    Nice Explanation

  • @RajNamdev_19
    @RajNamdev_19 Місяць тому

    Thanks

  • @Devkumar-en7zu
    @Devkumar-en7zu 5 місяців тому

    Sir plz clear one doubt that what is the meaning of sunset here bcz in non-trivial example how can we reach to the conclusion that it is a non trivial fd

  • @bhavikpatel5195
    @bhavikpatel5195 Рік тому +2

    57:32 why prime attribute can not find prime sttribute???????????????
    ps:can anyone explain???

    • @anshumanrout2739
      @anshumanrout2739 Рік тому +1

      agar prime se prime dhundne lage to us prime ka kya wajut rahega ? wo bolega "apun ka koi ijjat nai hai , ham yahan hain sabko dhundne ke liye par koi hame hi dhund le raha hai"

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

      @@anshumanrout2739 shi hai👌

  • @RohitSingh-hc8yi
    @RohitSingh-hc8yi Рік тому

    It was quite well explained

  • @sauravtarun8495
    @sauravtarun8495 2 роки тому +15

    How many more videos will be there on this playlist?

  • @Aakashhoney278
    @Aakashhoney278 Рік тому +1

    peeche ek white billa hai

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

    Nice Explanation bhaia

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

    maine video puri dekhi

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

    bohot hi badhiya

  • @sumitchandola7126
    @sumitchandola7126 Рік тому +10

    mera concentration toh peeche baithi billi(cat) pr jyaada hai 😂😂

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

    great learning exprience

  • @ibrahimsiddiqui7798
    @ibrahimsiddiqui7798 11 місяців тому +1

    Very cute cat

  • @ankushladani496
    @ankushladani496 2 роки тому

    Maja aa gaya bhaiya...

  • @dainaetishaa5006
    @dainaetishaa5006 2 роки тому

    Thank you again😊😊😊

  • @vaibhavbisht9649
    @vaibhavbisht9649 Рік тому +1

  • @motivationalmusic3721
    @motivationalmusic3721 2 місяці тому

    Understood

  • @sachinjha8042
    @sachinjha8042 2 роки тому

    Nice explanation 👍

  • @AryanSingh-rizz
    @AryanSingh-rizz 2 місяці тому

    I have a confusion what is that white organism behind you and what is it's name 💖

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

    Thank you

  • @taison0072
    @taison0072 2 роки тому

    Bhaiya please relational database design pe questions karaiye , schema design

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

    Thanku bhaiya

  • @SajanKumar-ec2us
    @SajanKumar-ec2us 12 днів тому

    i have nt understand prime attribute and non prime attribute

  • @mohammedsuhail8706
    @mohammedsuhail8706 2 роки тому +1

    At 40:00
    How can a primary key value be null
    That's not allowed na

    • @your_name96
      @your_name96 2 роки тому

      all prime attributes of primary key can't be null, in case of composite key, some(not all) can be NULL

  • @dhiman.shanky
    @dhiman.shanky 2 роки тому

    Amazing bro ❤️❤️❤️❤️👍👍❤️❤️

  • @RohitSingh-hc8yi
    @RohitSingh-hc8yi Рік тому

    thanks a lot

  • @VIKAS-fm5un
    @VIKAS-fm5un 2 роки тому

    Isi ki jarurat jyada thi normalisation 1nf 2nf 3nf and bcnf parso mera dbms ka paper hai important topic hai ye eske aane ke chance bahut h

    • @lakshaykumar7518
      @lakshaykumar7518 2 роки тому

      Btw, the videos made in this series are placements specific 😊

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

    ye bulkul class 12 ka equivalence relation jasa hai

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

    heloo how at 44:23 how is it 2 NF because first table primary key is (student id and project id) but student name is fully dependent on student id ,, therefore partial dependecy

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

      Because ProjectId in the new table is the Foreign key and not the primary key. Hence Student_name only depends on Student_ID and hence is said to be fully dependent. And Product_ID is required to link the two tables else we won't be able to find the project_Name for a particular student which would break the given functional dependency. Hope it is clear now.

    • @akshayamin
      @akshayamin 11 місяців тому

      @@saisidharth454 Is it possible to create one table consist of Student_ID and Student_Name // AND other // Student_ID,Project_ID and Project_Name??

  • @TarunKumar-cn6in
    @TarunKumar-cn6in 2 роки тому

    thanks sir

  • @fazerugbrug439
    @fazerugbrug439 2 роки тому

    superb

  • @priyanshpatel2078
    @priyanshpatel2078 2 роки тому

    Hmmm intresting

  • @rupambanerjee7575
    @rupambanerjee7575 2 роки тому

    Waiting for this

  • @theanshshah
    @theanshshah 2 роки тому +1

    Is dsa done or will there be more classes

  • @arjunvaddadi7170
    @arjunvaddadi7170 5 місяців тому

    Can someone tell in simple words what is candidate key

  • @gouravmandal6517
    @gouravmandal6517 2 місяці тому

    sir piche kia puppy hai ya cat?

  • @KratosProton
    @KratosProton 2 роки тому

    great

  • @varunbansal8865
    @varunbansal8865 2 роки тому

    how many videos are left in this playlist?

  • @aniruddhadas1651
    @aniruddhadas1651 2 роки тому

    Nice 👍

  • @RohitSingh-hc8yi
    @RohitSingh-hc8yi Рік тому

    maja aa gaya

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

    i think bhaiyya himself studied from KNOWLEDGE GATE

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

    what is a prime attribute?

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

    p_id kahan se aayi bcnf wale example m ??

  • @ankushladani496
    @ankushladani496 2 роки тому

    CD -> AC KESE AAYA KOI EXPLAIN KAREGA?

  • @NeyongLimbu-l1f
    @NeyongLimbu-l1f Місяць тому

    completed 31st july 2024

  • @AryanSingh-rizz
    @AryanSingh-rizz 2 місяці тому

    Bhaiya aapne cat ka naam to bataya hi nhi

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

    39:11 how can a table have more than 1 primary key??

    • @0xhans
      @0xhans 6 місяців тому

      composite primary key, when multiple attributes are clubbed together to make a primary attribute

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

    39:20 How can we store null in a prime attribute ?

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

    id----department yeh toh trivial hoga na toh phir non trivial kiyu bolrahe hein kiyuki id seh department pata chal chaljayega

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

    hehhe i love your dog!!

  • @AjitKumar-oh3td
    @AjitKumar-oh3td Рік тому

    test2

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

    there is 2 other also 4NF and 5NF ??