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