QUESTIONS Assume that Garden Glory designs a database with the following tables: OWNER (OwnerID, OwnerName, OwnerEmailAddress, Owner Type) OWNED PROPERTY (PropertyID, Property Name, Property Type, Street, City, State, Zip, OwnerID) GG SERVICE (ServiceID, ServiceDescription, Cost PerHour); EMPLOYEE (EmployeeID, LastName, FirstName, CellPhone, ExperienceLevel) PROPERTY SERVICE (PropertyServiceID, PropertyID, ServiceID, ServiceDate, EmployeeID, Hours Worked) The referential integrity constraints are: OwnerID in OWNED PROPERTY must exist in OwnerID in OWNER PropertyID in PROPERTY SERVICE must exist in PropertyID in OWNED_ PROPERTY ServiceID in PROPERTY_SERVICE must exist in ServiceID in GG_SERVICE EmployeeID in PROPERTY_SERVICE must exist in EmployeeID in EMPLOYEE Assume that OwnerID in OWNER, PropertyID in PROPERTY, ServiceID in GG_SER- VICE, EmployeeID in EMPLOYEE, and PropertyServiceID in PROPERTY_SERVICE are surrogate keys with values as follows: OwnerID Start at 1 Increment by 1 PropertyID Start at 1 Increment by 1 ServiceID Start at 1 Increment by 1 EmployeeID Start at 1 Increment by 1 PropertyServiceID Start at 1 Increment by 1

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 11RQ
icon
Related questions
Question
What is the relationship for the two questions below (eg. many optional, many mandatory...etc) give a detailed explanation: 1. Training to Equipment 2. Equipment to Training
QUESTIONS
Assume that Garden Glory designs a database with the following tables:
OWNER (OwnerID, OwnerName, OwnerEmailAddress, Owner Type)
OWNED PROPERTY (PropertyID, PropertyName, Property Type, Street, City,
State, Zip, OwnerID)
GG SERVICE (ServiceID, ServiceDescription, Cost PerHour);
EMPLOYEE (EmployeeID, LastName, FirstName, CellPhone, ExperienceLevel)
PROPERTY SERVICE (PropertyServiceID, PropertyID, ServiceID, ServiceDate,
EmployeeID, Hours Worked)
The referential integrity constraints are:
OwnerID in OWNED PROPERTY must exist in OwnerID in OWNER
PropertyID in PROPERTY SERVICE must exist in PropertyID in OWNED_
PROPERTY
ServiceID in PROPERTY_SERVICE must exist in ServiceID in GG_SERVICE
EmployeeID in PROPERTY_SERVICE must exist in EmployeeID in EMPLOYEE
Assume that OwnerID in OWNER, PropertyID in PROPERTY, ServiceID in GG_SER-
VICE, EmployeeID in EMPLOYEE, and PropertyServiceID in PROPERTY_SERVICE
are surrogate keys with values as follows:
OwnerID
Start at 1
Increment by 1
PropertyID
Start at 1
Increment by 1
ServiceID
Start at 1
Increment by 1
EmployeeID
Start at 1
Increment by 1
PropertyServiceID
Start at 1
Increment by 1
Transcribed Image Text:QUESTIONS Assume that Garden Glory designs a database with the following tables: OWNER (OwnerID, OwnerName, OwnerEmailAddress, Owner Type) OWNED PROPERTY (PropertyID, PropertyName, Property Type, Street, City, State, Zip, OwnerID) GG SERVICE (ServiceID, ServiceDescription, Cost PerHour); EMPLOYEE (EmployeeID, LastName, FirstName, CellPhone, ExperienceLevel) PROPERTY SERVICE (PropertyServiceID, PropertyID, ServiceID, ServiceDate, EmployeeID, Hours Worked) The referential integrity constraints are: OwnerID in OWNED PROPERTY must exist in OwnerID in OWNER PropertyID in PROPERTY SERVICE must exist in PropertyID in OWNED_ PROPERTY ServiceID in PROPERTY_SERVICE must exist in ServiceID in GG_SERVICE EmployeeID in PROPERTY_SERVICE must exist in EmployeeID in EMPLOYEE Assume that OwnerID in OWNER, PropertyID in PROPERTY, ServiceID in GG_SER- VICE, EmployeeID in EMPLOYEE, and PropertyServiceID in PROPERTY_SERVICE are surrogate keys with values as follows: OwnerID Start at 1 Increment by 1 PropertyID Start at 1 Increment by 1 ServiceID Start at 1 Increment by 1 EmployeeID Start at 1 Increment by 1 PropertyServiceID Start at 1 Increment by 1
OWNED PROPERTY
PK PropertyID
PropertyName
PropertyType
Street
City
State
Zip
FK OwnerID
#
OWNER
REPAIRS
PK OwnerID
OwnerName
OwnerEmailAddress
Owner Type
PK RepairlD
FK EquipmentID
RepairDate
Invoice
PROPERTY_SERVICE
PropertyServiceID
FK PropertyID
ServiceID
ServiceDate
FK EmployeeID
HoursWorked
GG_SERVICE
PK ServicelD
ServiceDescription
CostPerHour
FK EquipmentID
EQUIPMENT
PK EquipmentID
EquipmentType
Manufactorer
Cost
EMPLOYEE
PK EmployeelD
LastName
FirstName
CellPhone
ExpierenceLevel
FK TrainingLevel
TRAINING
PurchaseDate
PK TrainingID
FK EquipmentID
FK EmployeelD
CourseDescription
Duration
DateOfTraining
Instructor
Venue
TrainingLevel
Transcribed Image Text:OWNED PROPERTY PK PropertyID PropertyName PropertyType Street City State Zip FK OwnerID # OWNER REPAIRS PK OwnerID OwnerName OwnerEmailAddress Owner Type PK RepairlD FK EquipmentID RepairDate Invoice PROPERTY_SERVICE PropertyServiceID FK PropertyID ServiceID ServiceDate FK EmployeeID HoursWorked GG_SERVICE PK ServicelD ServiceDescription CostPerHour FK EquipmentID EQUIPMENT PK EquipmentID EquipmentType Manufactorer Cost EMPLOYEE PK EmployeelD LastName FirstName CellPhone ExpierenceLevel FK TrainingLevel TRAINING PurchaseDate PK TrainingID FK EquipmentID FK EmployeelD CourseDescription Duration DateOfTraining Instructor Venue TrainingLevel
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Database Environment
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage