CBSE BOARD X, asked by SerenaSmith4927, 1 year ago

rationship between primary key and foreign key


RG416: hope it will help you

Answers

Answered by rinkychakrabarti
2

What do you mean by rationship

Answered by RG416
1

primary key (PK). A primary key is a unique value that identifies

a row in a table. In our example, ClientID is the primary key in the Client table. Primary Keys are also indexed in the database, making it faster for the database to search for a record.

2.The referred field ClientID which occurs in the Sales table is called the foreign key (FK). Hence, the foreign key identifies a column or set of columns in one (referencing) table that refers to a

column or set of columns in another (referenced) table. The “one” side of a relation is always the parent, and provides the PK attributes to be copied.

Similar questions