Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions