Created
March 25, 2021 20:36
-
-
Save RelativeTech/47b2e2bdc5673c29810cac5710413b99 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select project_worker_map.project_id, sum(worker.compensation) | |
from worker, project_worker_map | |
where worker = project_worker_map.worker_id | |
group by project_id | |
having sum(worker.compensation) > 500000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment