Primary Key and Foreign Key Tutorial in MySQL | What is Primary Key and Foreign Key DBMS | Edureka

Поділитися
Вставка
  • Опубліковано 20 лип 2024
  • 🔥 𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐭𝐞𝐥𝐥𝐢𝐠𝐞𝐧𝐜𝐞 𝐌𝐚𝐬𝐭𝐞𝐫𝐬 𝐂𝐨𝐮𝐫𝐬𝐞 Visit: www.edureka.co/masters-progra... (Use Code "𝐘𝐎𝐔𝐓𝐔𝐁𝐄𝟐𝟎")
    This Edureka video on "Primary Key and Foreign Key in MySQL '' will introduce you to the concept of Primary Key and Foreign Key with a hands-on demo on MySQL Workbench. We will discuss the Syntax with examples and understand how to create a table with Primary Key and Foreign Key restrictions. If you have any queries, please mention in the comment section below and let us know if you have any more points to add in this video.
    Following pointers are covered in this Primary Key and Foreign Key in MySQL video:
    00:00 Introduction
    00:26 Agenda
    00:42 What is Primary Key?
    01:03 Example of Primary Key
    02:00 Syntax
    02:49 What is Foreign Key?
    03:08 Example of Foreign Key
    04:07 Syntax
    04:53 Hands-on Tutorial on Primary Key and Foreign Key
    🔴Subscribe to our channel to get video updates. Hit the subscribe button above: goo.gl/6ohpTV
    --------𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐎𝐧𝐥𝐢𝐧𝐞 𝐓𝐫𝐚𝐢𝐧𝐢𝐧𝐠 𝐚𝐧𝐝 𝐂𝐞𝐫𝐭𝐢𝐟𝐢𝐜𝐚𝐭𝐢𝐨𝐧--------
    🔵 DevOps Online Training: bit.ly/3lSnPe5
    🌕 AWS Online Training: bit.ly/336fsVt
    🔵 Data Science Online Training: bit.ly/33iRHtz
    🌕 Tableau Online Training: bit.ly/3lVbrK2
    🔵 Power BI Online Training: bit.ly/3s2nM3e
    🌕 Selenium Online Training: bit.ly/3dF0lo6
    🔵 PMP Online Training: bit.ly/3EK1XsC
    🌕 Salesforce Online Training: bit.ly/3DUaxUm
    🔵 Cybersecurity Online Training: bit.ly/3yjFhwS
    🌕 Java Online Training: bit.ly/3ybYe4s
    🔵 Big Data Online Training: bit.ly/3yfbZiV
    🌕 RPA Online Training: bit.ly/3rRMDq6
    🔵 Python Online Training: bit.ly/3GwDmrB
    🌕 Azure Online Training: bit.ly/3GvMIUG
    🔵 GCP Online Training: bit.ly/3ELEVl7
    🌕 Microservices Online Training: bit.ly/3INZJuw
    --------𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐑𝐨𝐥𝐞-𝐁𝐚𝐬𝐞𝐝 𝐂𝐨𝐮𝐫𝐬𝐞𝐬--------
    🔵 DevOps Engineer Masters Program: bit.ly/3EIRzRL
    🌕 Cloud Architect Masters Program: bit.ly/3pNruuu
    🔵 Data Scientist Masters Program: bit.ly/3lS75Uf
    🌕 Big Data Architect Masters Program: bit.ly/3ycCLIT
    🔵 Machine Learning Engineer Masters Program: bit.ly/3yc8xFU
    🌕 Business Intelligence Masters Program: bit.ly/3yhQbU2
    🔵 Python Developer Masters Program: bit.ly/3EK3IpI
    🌕 RPA Developer Masters Program: bit.ly/3dKGVxX
    🔵 Web Development Masters Program: bit.ly/3lP5zBZ
    🌕 Computer Science Bootcamp Program : bit.ly/3oQa2ql
    🔵 Cyber Security Masters Program: bit.ly/3yaJu64
    🌕 Full Stack Developer Masters Program : bit.ly/3DOtCra
    🔵 Automation Testing Engineer Masters Program : bit.ly/3qasDgf
    🌕 Python Developer Masters Program : bit.ly/3EK3IpI
    🔵 Azure Cloud Engineer Masters Program: bit.ly/3s2aFz4
    -------𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐏𝗼𝘀𝘁 𝗚𝗿𝗮𝗱𝘂𝗮𝘁𝗲 𝐂𝐨𝐮𝐫𝐬𝐞𝐬-------
    🔵 Artificial and Machine Learning PGD with E & ICT Academy NIT Warangal: bit.ly/3oFXamf
    🌕 Post Graduate Program in DevOps with Purdue University: bit.ly/31KHDsZ
    #SQL #SQLSERVER #MYSQL #Edureka #MYSQLWORKBENCH #CREATETABLE #CREATETABLEINMYSQL #SQLTUTORIAL #MYSQLTUTORIAL
    📢📢 𝐓𝐨𝐩 𝟏𝟎 𝐓𝐫𝐞𝐧𝐝𝐢𝐧𝐠 𝐓𝐞𝐜𝐡𝐧𝐨𝐥𝐨𝐠𝐢𝐞𝐬 𝐭𝐨 𝐋𝐞𝐚𝐫𝐧 𝐢𝐧 𝟐𝟎𝟐𝟐 𝐒𝐞𝐫𝐢𝐞𝐬 📢📢
    ⏩𝐓𝐨𝐩 𝟏𝟎 𝐓𝐞𝐜𝐡𝐧𝐨𝐥𝐨𝐠𝐢𝐞𝐬 𝐭𝐨 𝐋𝐞𝐚𝐫𝐧 𝐢𝐧 𝟐𝟎𝟐𝟮: bit.ly/3yhEs7S
    ⏩𝐓𝐨𝐩 𝟏𝟎 𝐇𝐢𝐠𝐡𝐞𝐬𝐭 𝐏𝐚𝐲𝐢𝐧𝐠 𝐉𝐨𝐛𝐬 𝐅𝐨𝐫 𝟐𝟎𝟐𝟐: bit.ly/3HcpPG6
    ⏩𝐓𝐨𝐩 𝟏𝟎 𝐏𝐫𝐨𝐠𝐫𝐚𝐦𝐦𝐢𝐧𝐠 𝐋𝐚𝐧𝐠𝐮𝐚𝐠𝐞𝐬 𝐟𝐨𝐫 𝟐𝟎𝟐𝟐: bit.ly/3FW6F69
    ⏩𝐓𝐨𝐩 𝟏𝟎 𝐂𝐞𝐫𝐭𝐢𝐟𝐢𝐜𝐚𝐭𝐢𝐨𝐧𝐬 𝐟𝐨𝐫 𝟐𝟎𝟐𝟐: bit.ly/3gH57mr
    📌𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦: t.me/edurekaupdates
    📌𝐓𝐰𝐢𝐭𝐭𝐞𝐫: / edurekain
    📌𝐋𝐢𝐧𝐤𝐞𝐝𝐈𝐧: / edureka
    📌𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦: / edureka_learning
    📌𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: / edurekain
    📌𝐒𝐥𝐢𝐝𝐞𝐒𝐡𝐚𝐫𝐞: www.slideshare.net/EdurekaIN
    📌𝐂𝐚𝐬𝐭𝐛𝐨𝐱: castbox.fm/networks/505?count...
    📌𝐌𝐞𝐞𝐭𝐮𝐩: www.meetup.com/edureka/
    📌𝐂𝐨𝐦𝐦𝐮𝐧𝐢𝐭𝐲: www.edureka.co/community/
    Please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll-free) for more information.

КОМЕНТАРІ • 24

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

    Got a question on the topic? Please share it in the comment section below. For Edureka’s BI Masters Certification Training, Please Visit our Website bit.ly/3kfHR1G Use code "UA-cam20" to get Flat 20% off on this training.

  • @hasanmougharbel8030
    @hasanmougharbel8030 Рік тому +6

    Hey there, kudos to your great efforts.
    I have a simple enquiry as an newbie sql learner.
    Why cant i have more than one primary key in a single table?
    Thanks for taking care of this.

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

    I was searching for this and checked several videos your explanation was simple n superb.

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

      Thank you so much 🙂 Glad it was helpful!

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

    Thanks a lot.

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

    As a beginner to sql i can this is the best video for understanding foreign key and primary key.

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

      Good To know our videos are helping you learn better :) Stay connected with us and keep learning ! Do subscribe the channel for more updates : )

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

    i am a beginner, Could you please tell me what's the use of foreign key and primary key??

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

    🔥thanks

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

    This video is helpful to beginners in DB.

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

      Thank you 😊 Glad it was helpful!! Keep learning with us

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

    Hi thnks for this video, please provide its second video where you were about to tell about how to join those tables.

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

      Thanks for showing interest in Edureka kindly visit the channel for more videos our content creators are eagerly waiting for your suggestion to make new videos on your interest :) DO subscribe for the video update

  • @fernandai.b.140
    @fernandai.b.140 2 роки тому +2

    Thanks! a useful video

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

    Always edurekha

  • @ravindrawaghela6129
    @ravindrawaghela6129 7 місяців тому

    Nicely explained. ! Helped me a lot

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

    Which one is better: one single surrogate key, or multiple primary key?

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

    👍

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

    Thanks mam 😊

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

      You're Welcome 😊 Glad it was helpful!!

  • @Sidra--
    @Sidra-- 7 місяців тому

    thank you