Created
March 25, 2021 20:34
-
-
Save RelativeTech/5c8175df3a0f3a29c4ffda5e1c8489dc 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 p.project_id, sum(w.compensation) as TotalComp | |
from worker w, project_worker_map p | |
where = p.worker_id | |
group by project_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment