Question: Write the SQL code to create a table related to products in a Dollar Store. The table is called Product. The table requirements are listed.

 Write the SQL code to create a table related to products

Write the SQL code to create a table related to products in a "Dollar" Store. The table is called Product. The table requirements are listed. Assume the manufacturer tables is already created, its structure is listed below. (20 points) The Product table has the following attributes: Bar code - 9 digit number and is the primary key. Product name 30 character string and can not be blank. Price- 3 digit number (representing cents) and must be between 100 and 400. Manufacture ID -10 digit number and is a foreign key to the Manufacturer's tables. Location 4 character string and must not have a duplicate value in another row of the table. The manufacture's table structure is: MANUFACTURER: Manufacturer ID number Name varchar2 Address Varchar2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!