Question: CREATE TABLE purchase_order ( order_number int NOT NULL, order_name char(50) NOT NULL, customer_address char(50), customer_zip int, customer_city char (50), order_total varchar(50), CONSTRAINT purchase_order_pk PRIMARY KEY
CREATE TABLE purchase_order ( order_number int NOT NULL, order_name char(50) NOT NULL, customer_address char(50), customer_zip int, customer_city char (50), order_total varchar(50), CONSTRAINT purchase_order_pk PRIMARY KEY (order_number) );
What is the code to add the foreign key for this table? Can you please add the entire code with mine included. Thank you in advance.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
