Database Design 23 - Superkey and Candidate Key

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

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

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

    10:28 Superkey: Any number of columns that create unique rows
    11:27 Candidate key: The least number of colums needed to force every row to be unique

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

    My graduate school professor couldn't explain this. Thank you for helping me understand what is actually a pretty simple concept. - New subscriber

  • @Deity1981
    @Deity1981 8 ปีที่แล้ว +24

    "Superkeey - its like superman but it is a key ... its like a Giant Key .... " LOL! - Hilarious.
    Your such a Geek ... so awesome !
    Helping me alot to understand DB structure ... Keep up the good work buddy ! THNX!

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

    Learn about Superkey and Candidate Key by watching this video. Make sure you watch the other videos in the series!
    buff.ly/1qSXqHA

  • @RamanSingh-co1ig
    @RamanSingh-co1ig 5 ปีที่แล้ว +5

    this series will help me a lot getting my exam cleared tomorrow. thanks

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

    Your example is much much much much much much... better than my notes given by school's lectures.

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

    Caleb, U have made learning Databases a fun to me. Thank you so much.

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

    Check out the most recent Database Design Videos!
    Superkey and Candidate Key: buff.ly/1rWEwQR
    Primary Key and Alternate Key: buff.ly/1rWEwQU
    Surrogate Key and Natural Key: buff.ly/1rWEwR2
    Should I use Surrogate Keys or Natural Keys?: buff.ly/1rWEx7o
    Foreign Key: buff.ly/1rWEys0
    NOT NULL Foreign Key: buff.ly/1rWEys8
    Foreign Key Constraints: buff.ly/1rWEx7C
    Simple Key, Composite Key, Compound Key: buff.ly/1rWEyIA
    Review and Key Points: buff.ly/1rWEyIH
    Introduction to Entity Relationship Modeling: buff.ly/1rWEyIK

  • @shaneplatt3128
    @shaneplatt3128 7 ปีที่แล้ว +12

    I am not sure what your background is, but if you are not an professional educator in some capacity, the world is missing out! I am a 45 yr old college junior majoring in CIT and if it was not for your videos I would be failing Database Systems!!! Thank you Caleb!!!!

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

    You explained better than my professor. Nice job! You earned a new subscriber.

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

    you explained this better than my professor. great job!

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

      I found that also, and also better than I read from book :)))

  • @gnomesonfire1
    @gnomesonfire1 10 ปีที่แล้ว

    This is fantastic, I really like the way that your exploitations are given in a way that doesn't mean your rushing forwards to make every single point made in the duration of five minutes or so meaning really, it's going to take the person watching the video more time to go through the video again to check for what they missed.
    just as a personal thought which isn't to say I have anything against the way you've taught the concepts of super and candidate keys, in practice it would seem that be getting on and doing things you'd then automatically realize and fill in the details that seem plainly intuitive like a candidate key, completely forgoing the need for a super key to be plucked from table in the first place
    it's often that the smaller processes like that are often completed automatically so like personally, I can't stand demands for a system to have all components passed through a normalization system comprised of three or more steps as usually, you'll end up completing what seems natural automatically

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

    Thanks Caleb, Learning a lot form your video.keep up the good job.

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

    Young, Smart, Funny, finally I got what is candidate key :) the video is 5 years old, but, anyway, thx for fun, and Very good explanation.

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

    Great video Caleb. Good teaching, nice humor injections.

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

    Fave teacher ever!

  • @SpeedEase
    @SpeedEase 8 หลายเดือนก่อน

    Great video thanks. Don't change a thing. It's perfect as is.

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

    I thought you did a pretty good job of explaining. Helped me out, so keep up the good work, and don't worry about the length of the video. You could always add bookmarks in a long video to allow viewers to quickly scrub ton the info they are looking for. Thanks for doing this.

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

    thank you for your excellent videos, you made it easy for me to understand database keys.

  • @faridb.rushdan1377
    @faridb.rushdan1377 7 ปีที่แล้ว +1

    Great video, time is great because your explaining it. Thanks.

  • @reactivesalis
    @reactivesalis 10 ปีที่แล้ว

    Calet, you are too much. am a beginner and your videos helped me alot. Thanks soo much.

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

    This was very useful buddy! Keep it up!!

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

    simple, clear and very helpful. thanks

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

    Great work! Your video helped me understand DB a little more.

  • @garyhuang11
    @garyhuang11 10 ปีที่แล้ว +6

    candidate key is defined as the minimal superkeys needed to force a unique row

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

      Just check out this comment guys. The vid takes way too long to get to the point.

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

    you are my super teacher thank you for helping me

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

    much more clear than my professor :p

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

    Chef Curry 👍🏿👍🏿

  • @suidheer
    @suidheer 10 ปีที่แล้ว

    can we consider a set of keys from which any one key is selected as primary key (ex : {user name, email id} and a combination of certain columns to find the uniqueness

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

    ''so nice your lecture but some times you make littlebit fun is awesome thank you for representing ''

  • @uricas1506
    @uricas1506 8 ปีที่แล้ว

    Thank you, you're videos are a great help!

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

    real helpful man !!

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

    It is very helpful #Caleb..Thank you

  • @xiaocheng1937
    @xiaocheng1937 8 ปีที่แล้ว

    In the vid you said that the candidate key is the least # of columns that force every row to be unique. So why would you refer the composite key (first name, last name, address, birthday,..) as a CK even though the number of columns it includes is greater than one ( the username only needs one column)?

  • @thevansarah
    @thevansarah 10 หลายเดือนก่อน

    happy birthday!

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

    Happy Birthday!

  • @123cgull
    @123cgull 8 ปีที่แล้ว

    Thank you ! Very helpful :D Keep it up man!!!

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

    Text book wasting my time, trying to tell me these concepts but they made it long and it is confusing. I just say Thank you. I was upset and now I am laughing .

  • @vysakh85
    @vysakh85 10 ปีที่แล้ว

    In the candidate key explanation part you showed it as "fn+mn+ln+birthdate+address" can we use the "first name+address" as candidate key.....................And thank you for the video it was informative and keep it so because comparsions will be more helpful in understanding.

  • @SafwanNet
    @SafwanNet 10 ปีที่แล้ว

    Although it was 20 minutes, it was not boring. I did study this in the past so that could have made it easier for me to watch this or more boring to watch it.
    But it was not boring and great explanation.

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

    I think George Foreman named all of his sons George. I don't know if any of them were twins.

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

    9:28 "This girl's last name could be Curry, and that would be perfectly OK" ... now hold on a minute

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

    so are superkeys and andidate key a form compostie key?

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

    can i buy you a whiteboard

  • @mahesh9171
    @mahesh9171 9 ปีที่แล้ว

    do you mean..if A,B,C,D,E,F are columns of tables then (ABCDEF,ABCDE,ABCD,ABS,AB,A) are super keys and (ABCDE,ABCD,ABS,AB,A) are candidate keys

  • @Narshredder
    @Narshredder 8 ปีที่แล้ว

    Thanks man!

  • @sumaiyaqureshi809
    @sumaiyaqureshi809 8 ปีที่แล้ว

    candidate key can be a super key or not or vice versa?

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

    ".....shame on you." LOL

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

    "If you have twins and named them the same thing SHAME ON YOU" lmaoo

  • @MarufAlom
    @MarufAlom 9 ปีที่แล้ว

    Thank you

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

    Thanks a lot Caleb, your video is amazing: you speak really clear and gave a practical example, it helped me understand so easily. Why I found your video a few days before my final exam :( Wish me luck with my final damn 60% :)

  • @stefanyc7435
    @stefanyc7435 8 ปีที่แล้ว

    thanks a lot!!

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

    I just realized you're left handed

  • @hundradpipers5112
    @hundradpipers5112 8 ปีที่แล้ว

    thanks

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

    The thumbnail fooled me. You looked a 10 year old there. Anyway, nice vid!

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

    Keys are the Key to succes LOL

  • @Regalert
    @Regalert 7 ปีที่แล้ว

    Now I understand.

  • @ink5473
    @ink5473 9 ปีที่แล้ว

    awesome

  • @Handskemager
    @Handskemager 9 ปีที่แล้ว

    He who would pun, would pick a pocket ..

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

    19 minutes and 14 seconds? Time to use 1.5x playback speed

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

    17:30 😂😂😂😂

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

    Alwoys i whach videos in youtube is very funny and injioning iiiiiiiiiiiiiiiii heyyyyyyyyyyyyyyyyyyyyyy

  • @reefsami8010
    @reefsami8010 7 ปีที่แล้ว

    Who else is thinking he looks a lot like Dylan from Modern Family?

  • @user-bq3wf3ws6g
    @user-bq3wf3ws6g 5 ปีที่แล้ว

    this video DID NOT need to be 19 minutes long caleb...

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

    Annoying ads throw me out every single time. This is so bad for learning.

  • @reactivesalis
    @reactivesalis 10 ปีที่แล้ว

    Sorry *caleb

  • @sscapture
    @sscapture 8 หลายเดือนก่อน

    You are adorable!!!

  • @ollz365
    @ollz365 9 ปีที่แล้ว

    I dont see the difference between a superkey and primary key :/ CalebTheVideoMaker2

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

      No worries. A primary key is like taking a super key and refining it to make the database better. Rarely will you ever need to figure out your super key when creating your database. primary keys and foreign keys are what really matter.

  • @tzu-minghuang7100
    @tzu-minghuang7100 8 ปีที่แล้ว +2

    dang ur so cute, I really like being lecturing

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

    thank for your joke

  • @Haxorzer
    @Haxorzer 8 ปีที่แล้ว +27

    Cringy but understandable. .-.

  • @piepieninja
    @piepieninja 8 ปีที่แล้ว

    my name is caleb too

  • @as-q8u
    @as-q8u ปีที่แล้ว

    So. Many. Ads.

  • @adityasastry1315
    @adityasastry1315 10 ปีที่แล้ว

    Your jokes are pretty lame but who cares you teach damn well :D Thanks man

    • @TheMicahwitz
      @TheMicahwitz 7 ปีที่แล้ว

      Aditya Sastry Caleb is The Man. Lane would be your profile pic. Haha

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

    you did not know how to explain what you understood. you talked about many topics

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

    Thank you