When using the following SQL syntax with a GROUP BY statement the Studio's Dataset and Query Dialog returns a value for each itemvalue instead of aggregating them into one group.
When using this same command directly against the Postgresql server using psql the results are returned as expected.
select itemtype , sum(itemvalue) from expense group by itemtype;
Postgresql 9.4
Recommended Comments