Question: Please using Word, your CREATE TABLE and SELECT statements. It's not required to execute your statements in mySQL but you'll know the statement is correct
Please using Word, your CREATE TABLE and SELECT statements.
It's not required to execute your statements in mySQL but you'll know the statement is correct if it executes properly.
You're creating CREATE TABLE statements, executing those statements in mySQL and then loading the tables with the INSERT statements that are in eLearning GG p mySQLInsert Stmtsvtxt under Homework. After you load all of the tables, you'll create SELECT statements, for each table, that will bring back all columns.
Write the CREATE TABLE statements, based on what the book shows on page : Assume that Garden Glory designs a database with the following tables:
OWNER OwnerID OwnerName, OwnerEmailAddress, OwnerType
OWNEDPROPERTY PropertyID PropertyName, PropertyType, Street, City,
State, ZIP, OwnerID
GGSERVICE ServiceID ServiceDescription, CostPerHour;
EMPLOYEE EmployeeID LastName, FirstName, CellPhone, ExperienceLevel
PROPERTYSERVICE PropertyServiceID PropertyID, ServiceID, ServiceDate,
EmployeeID, HoursWorked
The referential integrity constraints are:
OwnerID in OWNEDPROPERTY must exist in OwnerID in OWNER
PropertyID in PROPERTYSERVICE must exist in PropertyID in
OWNEDPROPERTY
ServiceID in PROPERTYSERVICE must exist in ServiceID in GGSERVICE
EmployeeID in PROPERTYSERVICE must exist in EmployeeID in EMPLOYEE
Assume that OwnerID in OWNER, PropertyID in OWNEDPROPERTY, ServiceID in GGSERVICE, EmployeeID in EMPLOYEE, and PropertyServiceID in PROPERTYSERVICE are surrogate keys with values as follows:
OwnerID Start at Increment by
PropertyID Start at Increment by
ServiceID Start at Increment by
EmployeeID Start at Increment by
PropertyServiceID Start at Increment by
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
