Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CREATE TABLE vendor ( vendor_id int NOT NULL, vendor_name char(50) NOT NULL, contact_name char(50), CONSTRAINT vendors_pk PRIMARY KEY (vendor_id) ); I cant find the foreign
CREATE TABLE vendor
( vendor_id int NOT NULL,
vendor_name char(50) NOT NULL,
contact_name char(50),
CONSTRAINT vendors_pk PRIMARY KEY (vendor_id) );
I cant find the foreign key for this table?
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) );
I cant find the foreign key for this table?
create table Inventory(I_Flower_Name varchar(20) ,I_FlowerNumber number , I_Location varchar(20), I_Condition varchar(20), I_Search varchar(40),I_Delete varchar(20), I_Add number,I_Quantity number,PRIMARY KEY (I_Flower_Name,I_FlowerNumber));
I am having trouble adding the foreign key into all three tables?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started