Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . Create a database called auto _ parts _ unlimited 2 . Create the following tables based on the client s requirements: a .

1. Create a database called auto_parts_unlimited
2. Create the following tables based on the clients requirements:
a. customers: This table will store customer information and should include the following attributes:
i. cust_id: A numeric ID that is assigned automatically when a customer record is created
ii. first_name: customers first name
iii. last_name: customers last name
iv. phone_number: customers phone number using format: (xxx) xxx-xxxx
v. email: customers email address
vi. street_address: customers address, includes street name and number
vii. city: city in which the customer lives
viii. zip: customers 5-digit zip code
ix. state: two letter state abbreviation
b. employees: This table will store information about the employees and should include the following attributes:
i. employee_id: A numeric ID that is assigned automatically when an employee is hired
ii. first_name: employees first name
iii. last_name: employees last name
iv. phone_number: employees phone number using format: (xxx) xxx-xxxx
v. email: employees email address
vi. street_address: employees address, includes street name and number
vii. city: city in which the employee lives
viii. zip: employees 5-digit zip code
ix. state: two letter state abbreviation
x. hire_date: date the employee was hired
xi. salary: employees annual salary as a fractional value
xii. probation: employees probationary status. Can only be one of two values. Either an employee is still probationary or not.
c. parts_inventory: represents all items in the stores inventory
i. part_number: An alphanumeric part number
ii. manufacturer: The manufacturers name of each part
iii. quantity: the number of parts in stock
iv. price: the price of each part as a fractional value

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

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions