Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help create OLPT database. Define primary keys, foreign keys, constraints, and correct data type. Q1. Create 8 tables based on the logical schema below.


33542705-485436.jpeg 

Please help create OLPT database. Define primary keys, foreign keys, constraints, and correct data type.


Q1. Create 8 tables based on the logical schema below. Note: you need to define prima key(s), constraints, and correct data type to get credits (8 points). CUSTOMERS CustomerID PK th CustFirstName CustLastName CustStreetAddress CustCity CustState CustZipCode ORDERS PK H CustAreaCode CustPhoneNumber OrderNumber OrderDate ShipDate CustomerD FK EmployeelD FK EMPLOYEES EmployeelD EmpFirstName EmpLastName EmpStreetAddress EmpCity EmpState EmpZipCode EmpAreaCode EmpPhoneNumber EmpBirthDate PK ORDER_DETAILS OrderNumber CPK ProductNumber CPK QuotedPrice QuantityOrdered PRODUCTS ProductNumber PK H ProductName ProductDescription RetailPrice QuantityOnHand CategoryID FK CATEGORIES PRODUCT VENDORS Category D CategoryDescription PK ProductNumber CPK VendorID CPK WholesalePrice DaysToDeliver PK H VENDORS VendorID VendName VendStreetAddress VendCity VendState VendZipCode VendPhoneNumber VendFaxNumber VendWebPage VendEmailAddress

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_2

Step: 3

blur-text-image_3

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

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions

Question

What are your options besides a rote memory approach?

Answered: 1 week ago

Question

List the steps of the normalization process.

Answered: 1 week ago