I just implemented implicitly inferred GROUP BY syntax in the SQL client
(bean-query).
This means that if you omit the GROUP BY clause it will automatically infer
it to be of the set of non-aggregate columns.
Given the kind of usage this is getting, making it more convenient like
this is worthwhile IMO.
You can do something like this, for example:

  > select account, sum(position);

I can't think of any reason this would be a problem.
If you know why SQL normally requires the explicit GROUP BY when it can be
inferred automatically, please let me know.

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhMVKe6Ny_1Btk5U27Zr06G_9k7zhV%2BPf0KKo%3DvZQmZjDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to