You have designed and created tables for the City Jail database. These tables dont include any constraints.
Question:
1. First, drop the APPEALS, CRIME_OFFICERS, and CRIME_CHARGES tables constructed. These three tables are to be built last, using a CREATE TABLE command that includes all the necessary constraints.
2. Second, use the ALTER TABLE command to add all constraints to the existing tables. Note that the sequence of constraint addition has an impact. Any tables referenced by FOREIGN KEYs must already have the PRIMARY KEY created.
3. Third, use the CREATE TABLE command, including all constraints, to build the three tables dropped in the first step.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: