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), vendor_ID VARCHAR(20), ITEM_NUMBER int

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), vendor_ID VARCHAR(20), ITEM_NUMBER int NOT NULL, CONSTRAINT pk_purchase_order PRIMARY KEY (order_number), FOREIGN KEY fk_vendor(V_VendorID) REFERENCES vendor(V_VendorID) FOREIGN KEY fk_inventory(ITEM_NUMBER) REFERENCES Inventory(I_FlowerNumber) );

I CANNOT GET THIS SQL COMMAND CODE TO WORK. WHAT IS WRONG? I AM GETTING THE ERROR ORA-00906: missing left parenthesis.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Lets go through your SQL command step by step to identify and correct any issues The error youre receiving ORA00906 missing left parenthesis suggests ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!