|
Main Menu
Resources
|
SQL FOREIGN KEY
Foreign key is use to referential to the unique parent table.
Let’s say we want to create 2 tables name users and departments. SQL statement : CREATE TABLE DEPARTMENTS ( And the users table will be like this: SQL statement is: CREATE TABLE USERS (
|

Printer friendly page