1Primary Key :
2It is unique column in every table in a database
3It can ONLY accept;
4 - nonduplicate values
5 - cannot be NULL
6Foreign Key:
7It is a column that comes from a different table and
8using Foreign key tables are related each other
9It is the primary key of another table
10It can be duplicate or null for another table
11
12Unique Key:
13Only unique value and also can contain NULL
1Primary Key :
2It is unique column in every table in a database
3It can ONLY accept;
4 - nonduplicate values
5 - cannot be NULL
6Foreign Key:
7It is a column that comes from a different table and
8using Foreign key tables are related each other
9It is the primary key of another table
10It can be duplicate or null for another table
11
12Unique Key:
13Only unique value and also can contain NULL
14