Quote:
|
the supervisors are also employees should have specified that
|
Please update the following informations according to your statement.
I'm not so well at English, so I couldn't ubderstand well the phrase "should have specified that".
Quote:
Schema:
EMPLOYEE: Number, Name, Age, Salary
SUPERVISION: Head, Employee
Find the reg numbers of the supervisors of the employees earning more than 40k
Solution:
project Head(SUPERVISION join EMPLOYEE = Number(select salary > '40k' (EMPLOYEE)))
Before I seen the solution I had come up with the following:
R = project Number (select salary > '40k' (EMPLOYEE))
project Head(Supervision join R)
|
And, it is not clear by what condition(s) to "Supervision join R".
There is no common column.