Question: Write a single SQL statement to create a new table called ProductHistory with the following column specifications: You need to set a primary key and
- Write a single SQL statement to create a new table called ProductHistory with the following column specifications:
- You need to set a primary key and a foreign key for the table. Add a primary key constraint based on both the ProductID and EntryDate columns. Add a foreign key constraint based on the ProductID columns of both ProductHistory and Product tables
Step by Step Solution
3.45 Rating (152 Votes )
There are 3 Steps involved in it
You can create the ProductHistory table with the specified column speci... View full answer
Get step-by-step solutions from verified subject matter experts
