CREATE TABLE Customers
(
CustomerID CHAR(5) NOT NULL,
CompanyName VARCHAR2(40) NOT NULL,
ContactName VARCHAR2(30),
ContactTitle VARCHAR2(30),
Address VARCHAR2(60),
City VARCHAR2(15),
Region VARCHAR2(15),
PostalCode VARCHAR2(10),
Country VARCHAR2(15),
Phone VARCHAR2(24),
CONSTRAINT PK_Customers
PRIMARY KEY (CustomerID)
)
/
I have provided SQL code to create all tables and insertall data. There is an error in setting referential integrity: oneof the tables is missing references. Read the code and identify theproblem. You can either modify create table statement or add altertable statement to include missing references.
Expert Answer
An answer will be send to you shortly. . . . .