We look at primary keys, logical keys and foreign keys. We look at how foreign keys are represented in the database.