What is the use of references key word in MySQL ?
Answers
Answered by
0
Answer:
The references keyword is used to define which table and column is used in a foreign key relationship. This means that a record in the hobby table must have a person_id that exists in the person table or else at the time of insert you will receive an error that the key does not exist.
Similar questions
English,
2 months ago
English,
5 months ago
Social Sciences,
11 months ago
Math,
11 months ago
Science,
11 months ago