4 ms·
This looks a little odd SELECT age, sum(civility) as total_civility FROM star_wars_universe ORDER BY ALL -- ORDER BY age, total_civility there's n
by zasdffaa 4y ago
This looks a little odd
SELECT age, sum(civility) as total_civility
FROM star_wars_universe
ORDER BY ALL
-- ORDER BY age, total_civility
there's no GROUP BY?
edit: (removed edit, I blew it, sorry)
- 1egg0myegg0 4y agoGood catch! Fixed! Needed a group by all in there.