Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
9. FOREIGN KEY IN SQL | SQL TUTORIAL
Play lesson

AWS DATA ENGINEERING - 9. FOREIGN KEY IN SQL | SQL TUTORIAL

4.0 (0)
11 learners

What you'll learn

This course includes

  • 18.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

QL Foreign Key Explained: Build Relationships Between Tables! In this video, learn how the FOREIGN KEY constraint in SQL helps maintain relationships between tables and ensure data integrity! 🔗 ✅ What is a Foreign Key? A FOREIGN KEY links one table to another by referencing the primary key of the related table. It ensures that the values in the foreign key column match with the primary key values in the referenced table. Want more similar videos- hit like, comment, share and subscribe ❤️Do Like, Share and Comment ❤️ ❤️ Like Aim 5000 likes! ❤️ ➖➖➖➖➖➖➖➖➖➖➖➖➖ Please like & share the video. ➖➖➖➖➖➖➖➖➖➖➖➖➖ script CREATE TABLE DEPARTMENT1 ( DEPT_ID INT PRIMARY KEY, DEPT_NAME VARCHAR(28) ) CREATE TABLE STUDENT1( ID INT PRIMARY KEY, NAME VARCHAR(28), DEPT_ID INT FOREIGN KEY (DEPT_ID) REFERENCES DEPARTMENT1(DEPT_ID) ) ➖➖➖➖➖➖➖➖➖➖➖➖➖ AWS DATA ENGINEER : https://www.youtube.com/playlist?list=PLOlK8ytA0MghpdMjb0m9zu1v9s_qbRP0q Azure data factory : https://youtube.com/playlist?list=PLOlK8ytA0MgguN5XidtQXbILxwCdJCUJE&si=iEICXHP80zGchUYh Azure data engineer playlist : https://youtube.com/playlist?list=PLOlK8ytA0MghBrzu0i6WlTBdoO1WdwV_e SQL PLAYLIST : https://www.youtube.com/playlist?list=PLOlK8ytA0MggGXIKmbfZ-_Xqcos3JKdV- PYSPARK PLAYLIST - https://www.youtube.com/playlist?list=PLOlK8ytA0MgjvOpd-088NRU_vTYw_aryH ➖➖➖➖➖➖➖➖➖➖➖➖➖ 📣Want to connect with me? Check out these links:📣 Join telegram to discuss https://t.me/+Cb98j1_fnZs3OTA1 ➖➖➖➖➖➖➖➖➖➖➖➖➖ what we have covered in this video: ➖➖➖➖➖➖➖➖➖➖➖➖➖ Hope you liked this video and learned something new :) See you in next video, until then Bye-Bye! ➖➖➖➖➖➖➖➖➖➖➖➖➖

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere