What are Primary Keys and Foreign Keys in SQL?

409 viewsSQLSQL
0

Primary keys are the unique identifiers for each row. They must contain unique values
and cannot be null. Due to their importance in relational databases, Primary keys are the
most fundamental aspect of all keys and constraints. A table can have only one primary key.
Foreign keys are a method of ensuring data integrity and manifestation of the relationship
between tables.

Gautam Sarswat Changed status to publish January 11, 2023
Write your answer.

Posted

in

Tags:

Comments

Leave a Reply

Ganesh Ji Arti A Tribute to Dilip Kumar