Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
4. Question 3
Summary

Instruction

Perfect! You're almost halfway through now.

Exercise

Create a table car based on the ERD diagram below:

LEAD

You don't need to create a table owner.

Stuck? Here's a hint!

Type:

CREATE TABLE car (
  vin varchar(16) PRIMARY KEY,
  make varchar(32),
  model varchar(32),
  owner_id integer,
  production_date date,
  FOREIGN KEY (owner_id)
    REFERENCES owner (id)
);