filmov
tv
How to Add Foreign Key in PhpMyAdmin (2024)
Показать описание
In this video, I'll show you how you can add Foreign Key in PhpMyAdmin.
Foreign key is used to link two tables together. We refer a primary key of another table in current table to link that row of current table to the primary key of another table.
You can easily add foreign key in PhpMyAdmin without writing any SQL queries.
🌐Connect with me:
Steps to Add Foreign Key in PhpMyAdmin
1. Open PhpMyAdmin
2. Click on the database where you want to add foreign key
3. Click on a table in which you want to add foreign key
4. Click on Structure
5. Click on relational views
6. Select the column that you want to add as foreign key and next to it, choose referenced table and column
By the end of this video, you'll learn how you can add foreign key using phpmyadmin. If you have any problems, let me know in the comments below.
#phpmyadmin #phpmyadmintutorial #foreginkey
Foreign key is used to link two tables together. We refer a primary key of another table in current table to link that row of current table to the primary key of another table.
You can easily add foreign key in PhpMyAdmin without writing any SQL queries.
🌐Connect with me:
Steps to Add Foreign Key in PhpMyAdmin
1. Open PhpMyAdmin
2. Click on the database where you want to add foreign key
3. Click on a table in which you want to add foreign key
4. Click on Structure
5. Click on relational views
6. Select the column that you want to add as foreign key and next to it, choose referenced table and column
By the end of this video, you'll learn how you can add foreign key using phpmyadmin. If you have any problems, let me know in the comments below.
#phpmyadmin #phpmyadmintutorial #foreginkey