SQL Consider the following two Relational Schema describing the EMPLOYEES and DE
ID: 3866130 • Letter: S
Question
SQL
Consider the following two Relational Schema describing the EMPLOYEES and DEPARTMENTS of some organization (assume all names are unique).
EMPLOYEES (EmployeeName, Salary, DeptName)
DEPARTMENTS (DeptName, ManagerName, City)
Define at schema level, a constraint (SQL Assertion) which specifies that none of the salaries of the employees of any department located in ‘San Francisco’ is more than the salary of any employee in the ‘Management’ department.