Use Foreign Keys to Ensure Data Integrity in Postgres

Share this video with your friends

Send Tweet

Every movie needs a director and every rented movie needs to exist in the store. How do we make sure something in another table exists before inserting new data? This lesson will teach us about foreign keys and references.