19+ Design Db Diagram Foreign Key Example Download Zip Background. We recommend that you print the er diagram out and stick it to your desk to get familiar with the schema while learning foreign key. Foreign key is a field in a table that uniquely identifies a row in another table or same table.
An er model is a design or blueprint of a database that can later be implemented as a database.
For example, when child rows are inserted, their parent rows. The download file is in zip format so you need a zip program to unzip it. I tried to create temp db with your above query. This makes it clear which column in the child table is the foreign key to the parent table.