4.17 Example Practice Problem of Lossless Join Decomposition Part-2

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 140

  • @KNOWLEDGEGATE_kg
    @KNOWLEDGEGATE_kg  ปีที่แล้ว +2

    For complete DBMS, check out this video: th-cam.com/video/YRnjGeQbsHQ/w-d-xo.html

  • @48_subhambanerjee22
    @48_subhambanerjee22 ปีที่แล้ว +19

    This lecture is "lossless" for sure sir. No time waste, straight to point perfect explanation!!

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  ปีที่แล้ว +4

      Thank you so much for your valuable feedback dear @Subham ❤ Keep following & do share it with your friends👍
      Stay connected for more amazing contents & upcoming videos 👍

  • @likithr.n9692
    @likithr.n9692 6 ปีที่แล้ว +12

    This probably was the only lecture that i understood about "loseless join".........

  • @WimpyWarlord
    @WimpyWarlord 5 ปีที่แล้ว +28

    I love the way u refer us as friends

    • @sohammaity7389
      @sohammaity7389 4 ปีที่แล้ว

      are you an idiot??

    • @s7s7s7s7s7
      @s7s7s7s7s7 4 ปีที่แล้ว

      @@sohammaity7389 simp Lmao

    • @abirpaul9027
      @abirpaul9027 3 ปีที่แล้ว

      @@s7s7s7s7s7 best reply

  • @devendramahilange
    @devendramahilange 2 ปีที่แล้ว +7

    4. R1(WV) R2(WXYZ)
    W common hai, lekin W candidate key nhi hai.
    1. R1(VWX) R2(XYZ) isme X common hai lekin X candidate key nhi hai, candidate key hone ke liye R2 me W hona chahiye na
    Candidate key: VW nikal rha hai

    • @narutoworld4k
      @narutoworld4k 11 หลายเดือนก่อน +3

      R1 aur R2 alg tables h aur inn dono tables m se kisi m bhi common attribute candidate key bn jati h toh lossless hoga
      (ik my reply to your comment is useless but for future viewer it may help)

  • @Sudeshsorout
    @Sudeshsorout 6 ปีที่แล้ว

    Apne sir g meri bahut badi problem solve Kara Di ... Thank you sir g .... Amit sir toh pata nhi kya padhate h institute m .... Unhone aise padhaya iss method ko ... M toh usme ulajh Gaya really sir thank you very much

  • @yraj1652
    @yraj1652 2 ปีที่แล้ว +10

    Sir literally maza aa raha is series me. 😊
    Thank you so much Sir for such content!! ❤️🙏

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  2 ปีที่แล้ว +2

      You're most welcome dear 😍Keep learning & supporting ! Do visit our website www.knowledgegate.in for more amazing courses & contents 👍😊

  • @OmitA25
    @OmitA25 4 ปีที่แล้ว +1

    We are blessed that....we got a tutor on youtube like you.....
    Very nice explanation....thnku....☺

  • @shadabiakram5283
    @shadabiakram5283 6 ปีที่แล้ว +3

    I hv no word sir...u r awsommm...thank u so much sir

  • @souvikchatterjee1621
    @souvikchatterjee1621 5 ปีที่แล้ว +2

    sir you are really great..the way you explain all those stuffs its really beautiful and i becomes your big fan...
    and i wanna say something that if possible then please upload videos on 4NF and 5NF.
    Thank You Sir.

  • @AnonRavin
    @AnonRavin ปีที่แล้ว +3

    Hello sir, In second example 11:10 how is X candidate key? X alone cannot find W … Please correct me if I am wrong.

  • @Sudeshsorout
    @Sudeshsorout 6 ปีที่แล้ว

    Guru g m toh issey bahut bade tareeke SE solve karta tha ..... Ab toh mouj aa gayi g

  • @Sudeshsorout
    @Sudeshsorout 6 ปีที่แล้ว

    Wow sir g .... Dhansu trick h g ... Lossless , lossy ki

  • @OmitA25
    @OmitA25 6 ปีที่แล้ว +1

    nice explantion sir.............Sir plz start uploading videos on computer org and architecture.........

  • @manishsinghrajput4638
    @manishsinghrajput4638 6 ปีที่แล้ว +1

    sanchit sir, please upload video on dependency preserving as early as possible..

  • @Gautamsingh-dy4cp
    @Gautamsingh-dy4cp 6 ปีที่แล้ว +13

    how x is candidate key when finding x closure w is missing in last question

    • @ashishakash3249
      @ashishakash3249 6 ปีที่แล้ว +14

      proving candidate key in one relation is enough...........see previous video 3rd property!!!!!!!

    • @Gautamsingh-dy4cp
      @Gautamsingh-dy4cp 6 ปีที่แล้ว +3

      i little bt confused and thanks

    • @Gautamsingh-dy4cp
      @Gautamsingh-dy4cp 6 ปีที่แล้ว +2

      coommon attribute is a candidate key at least one of the table after orignal table divide itno two parts ...thanks ashish

    • @ashishakash3249
      @ashishakash3249 6 ปีที่แล้ว +1

      Gautam sonu always welcome

    • @parthh3963
      @parthh3963 3 ปีที่แล้ว

      exactly my question!!, up to the previous examples we calculated if the common attribute is the candidate key of the parent relation but in this question suddenly we are happy with the common attribute being the candidate key of either one of the child relations.

  • @arijitbhakta9705
    @arijitbhakta9705 2 ปีที่แล้ว

    Thank you Sir for clear explaination.

  • @mgudiya
    @mgudiya 4 ปีที่แล้ว

    Sir your teaching is fantabulous

  • @chaitanyamogal808
    @chaitanyamogal808 3 ปีที่แล้ว +1

    This man is god 👍

  • @NEHASHARMA-qz2oi
    @NEHASHARMA-qz2oi 5 ปีที่แล้ว +15

    There's a mistake in the first part - Q6, wherein we have the three decompositions R1(a,b,c),R2(b,c,d) and R3(d,e). You say that the only common attribute between R1 and R2 is b, but it's actually b and c both!

    • @GadgetMeta
      @GadgetMeta 4 ปีที่แล้ว +5

      If B is distinct... then why we combine B with C

    • @PRINCE-ts3no
      @PRINCE-ts3no 8 วันที่ผ่านมา

      Same thought but idk why i am replying you its been almost 5 year for your watching this lecture.. 🙂😅

    • @jai_shree_ram2-c5b
      @jai_shree_ram2-c5b 2 นาทีที่ผ่านมา

      To kya dikkat hai bhai b and c dono common hai check (BC) key hai ya nahi or bo hai .....

  • @ajitsafeway
    @ajitsafeway 5 ปีที่แล้ว

    Sanchit , can we try to solve this problem ,
    Suppose that we decompose the relation R=(A,B,C,D,E,F) into three relations- R1(C, D, E) , R2(A, B, C) and R3(A, D, F) . Find whether this decomposition is lossless, if the following set F of functional dependencies holds.
    F={ A->BC; C->DE; D->F}

  • @hsygtgh6911
    @hsygtgh6911 6 ปีที่แล้ว

    mujhe achhe se samjh me aa gyi sir apka vedio

  • @ankitmehta4133
    @ankitmehta4133 3 ปีที่แล้ว

    love your explanation

  • @zareena60
    @zareena60 4 ปีที่แล้ว +6

    sir in 4th ques we r getting w as candidate key in R2.i think it is lossless.Plz kindly explain whether it is right or wrong

  • @Shrunkhla
    @Shrunkhla 6 ปีที่แล้ว +2

    Hello sir, in the last option of table you calculated B as common between R1 and R2, but both of them has BC as common, still they satisfy 3rd condition?? Since C is not distinct. Please clarify.

    • @ujjawalmishra2702
      @ujjawalmishra2702 5 ปีที่แล้ว

      take BC as key because R1 intersection R2=BC. He must have missed it.

    • @parthh3963
      @parthh3963 3 ปีที่แล้ว +1

      we are not using B and C individually instead we are taking the composite key "BC", and as we know B is distinct so it does not matter if C is distinct or not because "BC" combined will always be distinct.

  • @Ankit-we8ym
    @Ankit-we8ym 6 ปีที่แล้ว

    Very very thanks sir aur iski jarurat thi .

  • @ankitathakur5989
    @ankitathakur5989 4 ปีที่แล้ว

    Thanku sir ji

  • @ordinarygirlwithdreamywing4576
    @ordinarygirlwithdreamywing4576 3 ปีที่แล้ว

    Nice explanation

  • @yash_verma
    @yash_verma ปีที่แล้ว +1

    excellent explanation

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  ปีที่แล้ว

      Thank you ❤ keep supporting & stay connected for more amazing contents👍😊
      You can also check out our course for all Computer Science subjects, sharing the link below:
      www.knowledgegate.in/learn/Zero-to-Hero-in-Computer-Science

    • @pritimishra2302
      @pritimishra2302 ปีที่แล้ว

      Sir ek bhi distinct hoga tab bhi 3rd property follow hogi?

  • @theIndiangirlinEngland
    @theIndiangirlinEngland 6 ปีที่แล้ว

    Nice explanation sir.

  • @preethamm.n1161
    @preethamm.n1161 5 ปีที่แล้ว

    🌹💞💞Awesome teaching sir 💞💞 🌹

  • @Jyoti_Trivedi
    @Jyoti_Trivedi 4 ปีที่แล้ว

    Thank you sir.... great 🙏

  • @Vedupa
    @Vedupa 5 ปีที่แล้ว

    Sir really very good explanation my each nd every doubt clear regarding this topic
    Thankx a lot Sir!

  • @shriram6123
    @shriram6123 5 ปีที่แล้ว

    Thanks 🙏 🙏

  • @sharvanhomi5559
    @sharvanhomi5559 6 ปีที่แล้ว +1

    Sir acha explain kya apne..... Nyc

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  6 ปีที่แล้ว

      Thank you my friend.. Satah dete raho padhte raho.. so that main aur video bana pau aap logo ke liye..

  • @dip1410
    @dip1410 6 ปีที่แล้ว

    Brilliant sir thanks

  • @Ankit-we8ym
    @Ankit-we8ym 6 ปีที่แล้ว

    sanchit sir next please take on how to check fast dependency preservation .

  • @weblocker3801
    @weblocker3801 6 ปีที่แล้ว

    Thnku sir ji...

  • @Patitapaban_sahoo
    @Patitapaban_sahoo 2 ปีที่แล้ว +1

    Good job

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  2 ปีที่แล้ว

      Thanks 😍 keep learning & supporting ! Do visit our website www.knowledgegate.in for more amazing courses & contents 👍😊

  • @gayatri263
    @gayatri263 3 ปีที่แล้ว

    God bless you

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  3 ปีที่แล้ว

      Thanks a lot Gayatri..Stay blessed. Keep learning !!

  • @shwetashirsat383
    @shwetashirsat383 6 ปีที่แล้ว

    Thank you

  • @farzanabatool2728
    @farzanabatool2728 4 ปีที่แล้ว

    thank you sor🌹 🌹

  • @prof_as
    @prof_as 6 ปีที่แล้ว +1

    sir i have a question :- since here we can find C.K with the help of functional dependency here so 1st we find the C.K and then check that the decomposed tables have those keys in common or not

    • @AryanSingh-kt6ur
      @AryanSingh-kt6ur 5 ปีที่แล้ว +1

      No, we cant do that because if the common attribute is C.K for any of the decomposed tables then it will be lossless decomposition but it is not necessary ki wo common attribute CK prove hojaye using Functional dependencies like in last example X is not a C.K if you find it using functional dependencies but it is CK for R2 .

  • @diaworld7166
    @diaworld7166 4 ปีที่แล้ว +1

    sir 6th mr R1 and R2 saare attribute cover nhi kr rhe h E nhi h dono me ...aise ke skte h kia h sir??

  • @jagmohanagrawal7636
    @jagmohanagrawal7636 5 ปีที่แล้ว

    More questions on this topic will be helpful. Please upload soon if possible.

    • @Robert_downy
      @Robert_downy 6 หลายเดือนก่อน

      Do them by yourself

  • @radhachranverma3505
    @radhachranverma3505 3 ปีที่แล้ว +2

    Sir last wale quetion mai x candidate key nai hai , to ye to lossi hua na

  • @alwayshappy8576
    @alwayshappy8576 6 ปีที่แล้ว

    Great sir..

  • @mandishdahal5650
    @mandishdahal5650 5 ปีที่แล้ว

    thank u

  • @sscknight
    @sscknight 5 ปีที่แล้ว

    Thank you so much sir... Take a bow🙌

  • @arunavasaha7051
    @arunavasaha7051 5 ปีที่แล้ว +1

    In the last example how you can fetch W by making X as a candidate key?

    • @sagnikbagchi
      @sagnikbagchi 5 ปีที่แล้ว

      X is the candidate key for the second table.
      Only one condition is enough for it to prove that it is distinct he said so X isn't the candidate key of the first table.

  • @kshitijsrivastava6148
    @kshitijsrivastava6148 6 ปีที่แล้ว

    Thank you sir!

  • @terabaapfragmaster4723
    @terabaapfragmaster4723 7 หลายเดือนก่อน +1

    I have a confusion, here wv,wx,wy are the condidate keys.
    Then 4th option should also be lossless. Please help

  • @bhupendradewangan43
    @bhupendradewangan43 5 ปีที่แล้ว

    Thank u so much sir...

  • @narendraparmar1631
    @narendraparmar1631 6 ปีที่แล้ว

    Thanks sir ji😆

  • @codeb3nder862
    @codeb3nder862 4 ปีที่แล้ว

    Haat joda mat kijiye, we are blessed by you

  • @komalprajapati3243
    @komalprajapati3243 6 ปีที่แล้ว +4

    Sir please...... upload the video of 4NF and5NF

  • @KNOWLEDGEGATE_kg
    @KNOWLEDGEGATE_kg  ปีที่แล้ว

    🔥Complete DBMS by Sanchit Sir: tiny.cc/DBMS_Sanchitsir_kg
    🔥🔥All Computer Science Subjects by Sanchit Sir: tiny.cc/CSbundle_dbms_kg

  • @mbapu_art
    @mbapu_art 3 ปีที่แล้ว +2

    Love 😘you sir

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  3 ปีที่แล้ว

      Thanks a lot dear student.. keep learning and supporting !!

  • @shanumishra2444
    @shanumishra2444 6 ปีที่แล้ว

    sir please upload videos on ER Model

  • @aradhanasaxena8561
    @aradhanasaxena8561 6 ปีที่แล้ว

    Great

  • @prof_as
    @prof_as 6 ปีที่แล้ว +1

    and one more question:- does the child tables have to have the same C.K (a table can have multiple C.K )in common to satisfy the condition of loss-less decomposition

    • @AryanSingh-kt6ur
      @AryanSingh-kt6ur 5 ปีที่แล้ว

      bro foreign key reference hona chaiye bas

  • @travel_with_dimpi
    @travel_with_dimpi 6 ปีที่แล้ว

    Sir i want more videos on dec omposition

  • @TheSarthak425
    @TheSarthak425 6 ปีที่แล้ว +3

    How is X a candidate key? We cannot get W from X.

    • @spanishards
      @spanishards 6 ปีที่แล้ว

      X is candidate key in relation R2

    • @Gautamsingh-dy4cp
      @Gautamsingh-dy4cp 6 ปีที่แล้ว

      in r1 how it is possible

    • @ashishakash3249
      @ashishakash3249 6 ปีที่แล้ว +3

      here i got the solution!!!!! common attribute X should be candidate key in either one of R1 & R2 (or) both.........refer previous video 3rd property!

    • @sauravjyotikalita9563
      @sauravjyotikalita9563 6 ปีที่แล้ว +3

      Ashish Akash I think here X is only a part of candidate key....VW and XW are two candidate key

    • @ashishakash3249
      @ashishakash3249 6 ปีที่แล้ว +3

      sauravjyoti kalita ........ you did not understand the question he raised ..........vw & xw are candidate keys for R(vwxyz) AND X is candidate key in R(xyz).....so x is candidatre key in R(xyz) and foreign key in R(vwx)!!understood?

  • @Ankit-we8ym
    @Ankit-we8ym 6 ปีที่แล้ว

    sir please jaldi upload kijiega .

  • @pradhyumansinghmandloi8240
    @pradhyumansinghmandloi8240 3 ปีที่แล้ว +1

    common attribute can be super key?? Anyone please

  • @shrikant2820
    @shrikant2820 ปีที่แล้ว

    Sir thank you ❤

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  11 หลายเดือนก่อน

      You're welcome Shrikant! keep learning & supporting! Do visit our website www.knowledgegate.in for more amazing videos & contents👍😊

  • @AmitYadav-nn4lz
    @AmitYadav-nn4lz 6 ปีที่แล้ว

    opetion 4 is correct

  • @sai-be2jq
    @sai-be2jq 6 ปีที่แล้ว

    May I know why 4th option is not crct for 2nd qn...? even it contains all attributes and vw ,it is also a candidate key.

    • @reachrishav
      @reachrishav 6 ปีที่แล้ว

      W itself is not a candidate key

  • @pritimishra2302
    @pritimishra2302 ปีที่แล้ว

    Sir kya agar ek bhi common attribute distinct ho to bhi vo lossless hoga?

  • @VikramSingh-vy3jb
    @VikramSingh-vy3jb 4 ปีที่แล้ว +1

    sir in the 6th question R1(ABC),R2(BCD),R3(DE). If we combine R1 and R3 we get(ABCDE) but the intersection is null since there is nothing common in between them. So it should be Lossless decomposition.

  • @subhamsaha2235
    @subhamsaha2235 3 ปีที่แล้ว +1

    maja aa gya

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  3 ปีที่แล้ว

      Thankyou, Visit tiny.cc/yt_kgwebsite for more such mazedar courses and content !!

  • @shankarkolkata22
    @shankarkolkata22 5 ปีที่แล้ว +1

    Hello sir, in the last option of table of first question you calculated B as common between R1 and R2, but both of them has BC as common and C is not distinct, so it should be lossy.

  • @pratapkumar3434
    @pratapkumar3434 4 ปีที่แล้ว

    Ugc net Dec 2019 m tha ye questions

  • @ashutoshraj8668
    @ashutoshraj8668 4 หลายเดือนก่อน

    But Sir candidate keys ars vw and xw so how x only be a candidate key

  • @ajitsafeway
    @ajitsafeway 5 ปีที่แล้ว

    Also , just have one question , whether we need to find candidate key for whole schema R and then we need to check whether this candidate key is available in decomposed schema R1 or R2 , or
    Whether we verify whether common attribute find by rule 2 , is candidate key in R2 or R2 ?

    • @richidubey
      @richidubey 5 ปีที่แล้ว

      Just check if it is a candidate key for the particular relation R1 or not. If it is candidate key for the entire R, then it certainly would be for R1/R2.

  • @ajitsafeway
    @ajitsafeway 5 ปีที่แล้ว

    Yaar I need this reply as early as possible , can not wait for a month or many days.. plz help me

  • @antarbasu5342
    @antarbasu5342 4 ปีที่แล้ว

    Last explaination was wrong.. please check sir, no lossless was found

  • @lalkrishnajha4681
    @lalkrishnajha4681 6 ปีที่แล้ว

    sir i think this video u have given...i tried this on one sum bt couldn t get the answer...

    • @lalkrishnajha4681
      @lalkrishnajha4681 6 ปีที่แล้ว

      if u ask me then i can send u in mail that sum if u want.....sir pls don t mind

  • @RohanSingh-ug2tv
    @RohanSingh-ug2tv 3 ปีที่แล้ว

    100th comment❤️

  • @harshagarwal2280
    @harshagarwal2280 4 ปีที่แล้ว

    Does anyone notices that he speaks very similar to technical guruji

  • @souravdhar1943
    @souravdhar1943 6 ปีที่แล้ว

    "To fir chaliye suru kartehe" 🤣🤣
    Inspired by Technical guruji

    • @aadarshmishra2504
      @aadarshmishra2504 6 ปีที่แล้ว +2

      Maybe Technical Guruji was inspired by our Sanchit Guruji.. 🤣🤣

  • @prajwalprabhu025
    @prajwalprabhu025 ปีที่แล้ว

    ii watch ur videos in 2x speed 😂

  • @TanmayMishra-dev
    @TanmayMishra-dev 5 หลายเดือนก่อน

    06/09/2024

  • @aakershitsharma
    @aakershitsharma 6 ปีที่แล้ว

    you save my ass man !!!

  • @anshshah4927
    @anshshah4927 4 ปีที่แล้ว

    Who's having exams tomorrow

  • @Ajay51702
    @Ajay51702 ปีที่แล้ว

    bro does you test in practically! obviously no...😡

  • @farukj.s4824
    @farukj.s4824 5 ปีที่แล้ว

    SIR YOU SPEAK TOO FAST !

  • @Sudeshsorout
    @Sudeshsorout 6 ปีที่แล้ว

    Agar aap net k saare subject padhane lage toh .... M Bhagwan ki kasam kha kar kehta hu kamjor se kamjor bachha BHI net ko aik Baar m clear kar dega ..... Sachhi sir. .. m Kisi ki khaama khaa badaayi nhi karta hu ... Ap mein mujhe kuchh lagaa h tabhi m keh Raha hu g..

  • @elChico-TV
    @elChico-TV 5 ปีที่แล้ว

    Why why english tittle when you talk on another language ??? BIG DISLIKE

  • @krupalshah8526
    @krupalshah8526 6 ปีที่แล้ว

    Bot sale, khud GATE mein appear bhi hua hai?

  • @NishaSharma-nd1dk
    @NishaSharma-nd1dk 3 ปีที่แล้ว +2

    Thanks sir g

  • @askariaziz4163
    @askariaziz4163 4 ปีที่แล้ว

    thanks

  • @sdeepa5746
    @sdeepa5746 5 ปีที่แล้ว

    Thanks😊

  • @Prabhat56682
    @Prabhat56682 4 ปีที่แล้ว

    Thanks a lot sir

  • @harun-or-rashid8714
    @harun-or-rashid8714 6 ปีที่แล้ว

    Thank you so much, sir.

  • @andistheinforitbutso7513
    @andistheinforitbutso7513 3 ปีที่แล้ว +1

    Thank you

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  3 ปีที่แล้ว

      You're most welcome dear student, keep learning & supporting !! Do visit our website www.knowledgegate.in for more courses & contents !!