KEYS IN DBMS | Difference between composite and candidate key

Поділитися
Вставка
  • Опубліковано 21 чер 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

КОМЕНТАРІ • 60

  • @crackconcepts
    @crackconcepts  9 місяців тому +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 2 роки тому +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 2 роки тому +17

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

  • @HarjotSingh-eq6jq
    @HarjotSingh-eq6jq 3 роки тому +14

    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 2 роки тому +2

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

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

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

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

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

  • @raj-lu6sm
    @raj-lu6sm 2 роки тому +1

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

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

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

  • @ezzati8235
    @ezzati8235 3 роки тому +3

    Thank your for the explanations very helpful 💛💛

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

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

  • @Mayankkumar-eh8yb
    @Mayankkumar-eh8yb 2 роки тому +1

    HIghly appreciate your work.....great!

  • @dildokafir5058
    @dildokafir5058 4 роки тому +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 4 роки тому

      Sunil Kumar yeah i was thinking the same

    • @ajims9093
      @ajims9093 3 роки тому

      Thanks

    • @deewan2588
      @deewan2588 3 роки тому +1

      Mass bro

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

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

  • @hardikjaggi700
    @hardikjaggi700 3 роки тому +1

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

  • @sayanthankathirkamanathan8699
    @sayanthankathirkamanathan8699 3 роки тому

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

  • @irocksify
    @irocksify 5 років тому +4

    Nice.
    Please make video on SQL constraints with example.

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

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

  • @hishamkv8118
    @hishamkv8118 3 роки тому

    Helpful explanation

  • @surajsingh-sm7qx
    @surajsingh-sm7qx 2 роки тому +1

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

  • @naveenshagala3136
    @naveenshagala3136 5 років тому +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.

    • @crackconcepts
      @crackconcepts  5 років тому

      Yes, I will surely make. Thanks a lot!

  • @sathyasathyam6930
    @sathyasathyam6930 3 роки тому

    Really awsome

  • @vijaytorani9631
    @vijaytorani9631 3 роки тому

    Mam should we also contain phone no in super key?

  • @ritihajagadesh4629
    @ritihajagadesh4629 3 роки тому +1

    This is was the shortest and best explaining video..

  • @urvishfree0571
    @urvishfree0571 3 роки тому +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 5 років тому

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

    • @crackconcepts
      @crackconcepts  5 років тому +1

      Glad it helped you. Will definitely make more videos.

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

    Thanks fot the nice class,😊

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

    Voice ❤️

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

    Thanks😊

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

    Thank you🙏

  • @SHASHANKRUSTAGII
    @SHASHANKRUSTAGII 3 роки тому

    What was your GATE rank?

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

    my understand level currently 100%

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

    Thank you

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

    THANK U QUEEN'

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

    thanks

  • @sameerpandey5561
    @sameerpandey5561 3 роки тому +3

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

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

    Sweet

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

    Mem plzz implement all the keys in practical

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

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

  • @debatenepal9417
    @debatenepal9417 3 роки тому +1

    Best and shortest 💕💕💕

  • @sharabhkochar779
    @sharabhkochar779 3 роки тому +1

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

  • @vyshnavib8023
    @vyshnavib8023 3 роки тому +1

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

    • @sasidhar143
      @sasidhar143 3 роки тому

      i too have the same doubt vaishnavi...

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

    why is phone not part of the super key?

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

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

  • @aaoKahaniDalien
    @aaoKahaniDalien 8 місяців тому

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

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

    Where in Unique Key concept

  • @tushardeepsingh4976
    @tushardeepsingh4976 3 роки тому

    Surrogate key ?

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

    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.

  • @sandeepgaming4004
    @sandeepgaming4004 3 роки тому

    R