SELECT * FROM Employee ( SELECT eid FROM Assignment GROUP BY eid HAVING SUM(hours_per_week) > 40 )
This is my code for finding hours_per_week, which is over 40. The subquery returns the eid of people with more than 40 hours. My question is how to display all people in Employee with the eid obtained from the subquery. Where? or join?
source share