190k views
1 vote
1. You are given a database to create, however, you realize that in the instructions you are told to create relationships between each table. How are relationships made between tables?

User Ksarmalkar
by
5.3k points

1 Answer

2 votes

Answer:

In your table create statement, you can reference a primary key of another table. This is called a foreign key.

The syntax varies per database type.

User Jaydeep Vyas
by
5.2k points