KEYS IN DBMS | Difference between composite and candidate key

Sdílet
Vložit
  • čas přidán 21. 06. 2019
  • This video will explain 5 keys in dbms
    1. Super key
    2. Candidate key
    3. Primary key
    4. Secondary key
    5. Composite key
    Knowing keys in dbms is very important as it is a very common interview question.
    Please subscribe to my channel if you liked the video.
    Thank you!
    ✨Work related mails can be sent on:
    work.sadiasiddiqui@gmail.com
    ✨If you appreciate my work and would like to donate to support our channel, you can do so here:
    paypal.me/sadia1702

Komentáře • 60

  • @crackconcepts
    @crackconcepts  Před 9 měsíci +2

    ✨Link to my SQL e-book: imojo.in/rkajq9
    ✨Link to 'Switch your career easily' e-book: imojo.in/1FL7KaG
    (Perfect for anyone willing to switch to a completely new field or to a different company in the Tech World)

  • @kiranachanta9741
    @kiranachanta9741 Před 2 lety +22

    Foreign Key is mapped to Primary Key of Parent table. FK is not a PK and it can have duplicate values as well.

  • @zishanafzal6671
    @zishanafzal6671 Před 3 lety +17

    the best thing about your videos is that it is very short and comparatively much informative than others.

  • @HarjotSingh-eq6jq
    @HarjotSingh-eq6jq Před 3 lety +15

    Phone number also will be same for two students if both are siblings. Hence, we can not consider phone number as a Primary Key or Unique Key.

    • @vasimuddinsheikh3766
      @vasimuddinsheikh3766 Před 2 lety +3

      Ask students to bring different number of Mom and Dad if siblings

    • @theengineerguy_
      @theengineerguy_ Před rokem +1

      @@vasimuddinsheikh3766 Gareeb bacche hain 2 phone Kaha se layenge😂

  • @parichaybhatt46
    @parichaybhatt46 Před 2 lety +2

    Great job. Thanks for the easy to understand explanation 🧡🤝

  • @raj-lu6sm
    @raj-lu6sm Před 2 lety +1

    excellent video with good example....struggle to get this on internet and finally got here

  • @ezzati8235
    @ezzati8235 Před 3 lety +3

    Thank your for the explanations very helpful 💛💛

  • @designers_rockwall
    @designers_rockwall Před rokem +1

    nicely explained in short time. REALLY APPRICIATE YOUR WORK👍🏻

  • @Mayankkumar-eh8yb
    @Mayankkumar-eh8yb Před 2 lety +1

    HIghly appreciate your work.....great!

  • @CelebrateWithVani
    @CelebrateWithVani Před rokem +1

    Thank you mam for sharing the video's. it's helping alot of students throughout the world! Keep going😊🙏

  • @sathyasathyam6930
    @sathyasathyam6930 Před 3 lety

    Really awsome

  • @hishamkv8118
    @hishamkv8118 Před 3 lety

    Helpful explanation

  • @amanbhargava2702
    @amanbhargava2702 Před 2 lety

    Thanks😊

  • @surajsingh-sm7qx
    @surajsingh-sm7qx Před 2 lety +1

    Hey mam what is the difference between the composite key and super key?

  • @hardikjaggi700
    @hardikjaggi700 Před 3 lety +1

    Thanks for such content. I think we missed Surrogate key.

  • @sayanthankathirkamanathan8699

    thanks. help me a lot. mam plz make other videos on DBMS.

  • @adss5095
    @adss5095 Před 4 měsíci

    Thanks fot the nice class,😊

  • @pannagabm2100
    @pannagabm2100 Před 10 měsíci

    Thank you🙏

  • @mujahithhilalmml1577
    @mujahithhilalmml1577 Před 2 lety

    Thank you

  • @vijaytorani9631
    @vijaytorani9631 Před 3 lety

    Mam should we also contain phone no in super key?

  • @irocksify
    @irocksify Před 5 lety +4

    Nice.
    Please make video on SQL constraints with example.

  • @SHASHANKRUSTAGII
    @SHASHANKRUSTAGII Před 3 lety

    What was your GATE rank?

  • @stormroxx3487
    @stormroxx3487 Před 2 lety

    THANK U QUEEN'

  • @aravindas2591
    @aravindas2591 Před 2 lety

    thanks

  • @naveenshagala3136
    @naveenshagala3136 Před 5 lety +2

    Concepts are crystal clear. Even I used to get confused with candidate key and composite key. but now it's clear. Mam please make videos on normalisation concept.

  • @Bestclipz007
    @Bestclipz007 Před 2 lety +1

    Very easy way of understanding of sql for beginners like me🤗. Wishing for much more video like this.
    Love from mangalore❤

  • @funnydonkiran3884
    @funnydonkiran3884 Před 3 lety +2

    Voice ❤️

  • @urvishfree0571
    @urvishfree0571 Před 3 lety +1

    I know it's been long time but does anyone have notes. And mam if you have bandwidth can you just combine all your SQL pages and give the pdf notes it would be very much helpful to us.

  • @thecodebehavior
    @thecodebehavior Před 5 lety

    help me alot . mam plz make other videos on dbms.

    • @crackconcepts
      @crackconcepts  Před 5 lety +1

      Glad it helped you. Will definitely make more videos.

  • @dildokafir5058
    @dildokafir5058 Před 4 lety +47

    Correction: alternate/secondary key are those key which are left from candidates keys that qualifies to primary key.
    Ex- students id & phone no. are candidates keys and students id is chosen as primary key, therefore the key which is left i.e phone number is alternative /secondary key.

    • @simay9773
      @simay9773 Před 4 lety

      Sunil Kumar yeah i was thinking the same

    • @ajims9093
      @ajims9093 Před 3 lety

      Thanks

    • @deewan2588
      @deewan2588 Před 3 lety +1

      Mass bro

    • @CelebrateWithVani
      @CelebrateWithVani Před rokem

      Thank you for sharing the answer! It's helping many students like me! God bless you😊🙌

  • @ritihajagadesh4629
    @ritihajagadesh4629 Před 3 lety +1

    This is was the shortest and best explaining video..

  • @aloneajay6393
    @aloneajay6393 Před 2 lety

    Sweet

  • @chilly2171
    @chilly2171 Před 2 lety

    why is phone not part of the super key?

  • @__________________________6910

    my understand level currently 100%

  • @vyshnavib8023
    @vyshnavib8023 Před 3 lety +1

    Mam Is superkey is same as composite key..both of them same or not mam.. reply mam

    • @sasidhar143
      @sasidhar143 Před 3 lety

      i too have the same doubt vaishnavi...

  • @aaoKahaniDalien
    @aaoKahaniDalien Před 8 měsíci

    Salaam! can you please provide me the video capturing method? i need it actually how you maintain and made it....! thanks❤

  • @sharabhkochar779
    @sharabhkochar779 Před 3 lety +1

    this is very helpful, can you please convert your notes into .pdf and share them to us?

  • @surajprajapat4639
    @surajprajapat4639 Před 2 lety

    Mem plzz implement all the keys in practical

  • @surajprajapat4639
    @surajprajapat4639 Před 2 lety

    Mem plzz make a vedio fast to implement keys in details with cammond s

  • @sameerpandey5561
    @sameerpandey5561 Před 3 lety +3

    Candidate key’s attributes can contain NULL value which oppose to the primary key

  • @debatenepal9417
    @debatenepal9417 Před 3 lety +1

    Best and shortest 💕💕💕

  • @abhishekyadav7832
    @abhishekyadav7832 Před 2 lety

    How can student name be a super key? Any two students might have the same name.

  • @tushardeepsingh4976
    @tushardeepsingh4976 Před 3 lety

    Surrogate key ?

  • @sarojsahoo8763
    @sarojsahoo8763 Před 2 lety

    Where in Unique Key concept

  • @sandeepgaming4004
    @sandeepgaming4004 Před 3 lety

    R

  • @abhisheksaurav
    @abhisheksaurav Před 2 lety

    Your videos are helping me a lot. Thanks.
    Feedback: Please try to speak bit louder or use a mic which can catch your voice. Phone's microphone is suppressing your voice.