Answered step by step
Verified Expert Solution
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.
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started