Can a table have two foreign keys?

1 answer

Answer

1288479

2026-08-14 23:46

+ Follow

Yes, a table can have multiple foreign keys. Each foreign key can reference a primary key in a different table, establishing relationships between the tables. This allows for complex data structures and relationships in a relational database. For example, a "Orders" table could have foreign keys referencing both a "Customers" table and a "Products" table.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.