Hacker News new | ask | show | jobs
by zasdffaa 1506 days 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)

1 comments

Good catch! Fixed! Needed a group by all in there.