Permalink
Browse files

no, really, mysql wants table aliases

  • Loading branch information...
1 parent 0e0b0a1 commit 9b339132c713da67524e900dfe89ab5a452d63ea @jrochkind committed Aug 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/report_controller.rb
@@ -57,7 +57,7 @@ def fetch_stats
(case when option_a = choice then 1 else 0 end) AS loss
FROM selections as opt_bs
- )
+ ) as collated
GROUP BY engine
EOS

0 comments on commit 9b33913

Please sign in to comment.