Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT c.country_code,
- SUM(fr.raised_amount)
- FROM company as c
- LEFT OUTER JOIN funding_round AS fr ON c.id = fr.company_id
- GROUP BY c.country_code
- ORDER BY SUM(fr.raised_amount) ASC;
Advertisement
Add Comment
Please, Sign In to add comment