relationship between a primary key and foreign key in own and simple language only three line.
Answers
Answered by
1
Here are the few points about the Primary key and Foreign key:
(1) A primary key cannot accept null values, whereas foreign key can accept.
(2) A table can have only 1 primary key, whereas table can more than 1 foreign key.
(3) Indexes are automatically created on Primary keys, They are not created n foreign key.
Note: Relation between Primary key and foreign key - > One-to-Many relationship.
Hope this helps!
(1) A primary key cannot accept null values, whereas foreign key can accept.
(2) A table can have only 1 primary key, whereas table can more than 1 foreign key.
(3) Indexes are automatically created on Primary keys, They are not created n foreign key.
Note: Relation between Primary key and foreign key - > One-to-Many relationship.
Hope this helps!
siddhartharao77:
:-))
Similar questions
Chemistry,
9 months ago
Social Sciences,
9 months ago
Accountancy,
9 months ago
English,
1 year ago
Science,
1 year ago
Environmental Sciences,
1 year ago