Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a table called DepartmentLocation. Then add the following data to it: locationId locationName 1 CAN 2 USA 2 . ( 2 Marks ) Add
Create a table called DepartmentLocation. Then add the following data to it: locationId locationName CAN USA Marks Add a column to the Department table called locationId with type Number. Modify the locationId of department to be Set every other departments locationId to Marks Use the Relationships Tool to create relationships between the Department and Employee tables. Be sure to enforce referential integrity. a An employee works in a department b An employee supervises an employee c A department operates in a location Marks each Modify your Employee table so that: a Employees have a Salary field. This field must be greater than or equal to zero. b Employees has SIN numbers. These numbers are text and should be a sequence of numbers. They should display as where the zeros are the SIN number. c Add a validation rule that enforces that an employee cannot be their own supervisor.
Create a table called DepartmentLocation. Then add the following data to it:
locationId locationName
CAN
USA
Marks Add a column to the Department table called locationId with type Number.
Modify the locationId of department to be Set every other departments
locationId to
Marks Use the Relationships Tool to create relationships between the Department and
Employee tables. Be sure to enforce referential integrity.
a An employee works in a department
b An employee supervises an employee
c A department operates in a location
Marks each Modify your Employee table so that:
a Employees have a Salary field. This field must be greater than or equal to zero.
b Employees has SIN numbers. These numbers are text and should be a sequence of
numbers. They should display as where the zeros are the SIN number.
c Add a validation rule that enforces that an employee cannot be their own
supervisor.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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