How can I write this simple SQL statement using the code generated by Ent?
select max(t.sum_score) from
(select sum(score) as "sum_score"
from matches
group by team) as t
I tried to use Custom SQL Modifiers feature flag as described here but I can't figure out how to access the sum_score
field from outside of the modifier.