Question: database PART B: SQL DML/DDL (20 points) The following relational schema forms part of an Employees database. The primary keys are underlined and foreign keys
PART B: SQL DML/DDL (20 points) The following relational schema forms part of an Employees database. The primary keys are underlined and foreign keys are in italics. Job (jobID, job Title, minSalary, maxSalary) Dependent (dependent ID, firstName, lastName, relationship, employeeID) Department (departmentID, departmentName, location ID) Location (locationID, street, postcode, city, state) Employee (employeeld, firstName, lastName, phoneNumber, salary, jobID, departmentID) Employee employeeld works as jobID at a department departmentID located at locationID. The employee has dependent(s) dependentID. 2. For employees who earn less or equal to 4000, list the employee names, their department names, and dependent names. (3 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
