define (a) primary key (b) foreign key
Answers
Answered by
11
(a) PRIMARY KEY
A primary key, also called a primarykeyword, is a key in a relational database that is unique for each record. It is a unique identifier, such as a driver license number, telephone number (including area code), or vehicle identification number (VIN). A relational database must always have one and only one primary key.
(b) FOREIGN KEY
A foreign key is a column or columns of data in one table that connects to theprimary key data in the original table.
To ensure the links between foreign key and primary key tables aren't broken, foreign key constraints can be created to prevent actions that would damage the links between tables and prevent erroneous data from being added to the foreign key column.
A primary key, also called a primarykeyword, is a key in a relational database that is unique for each record. It is a unique identifier, such as a driver license number, telephone number (including area code), or vehicle identification number (VIN). A relational database must always have one and only one primary key.
(b) FOREIGN KEY
A foreign key is a column or columns of data in one table that connects to theprimary key data in the original table.
To ensure the links between foreign key and primary key tables aren't broken, foreign key constraints can be created to prevent actions that would damage the links between tables and prevent erroneous data from being added to the foreign key column.
Similar questions
English,
7 months ago
English,
7 months ago
Social Sciences,
7 months ago
Psychology,
1 year ago
Math,
1 year ago
Chemistry,
1 year ago
Physics,
1 year ago