db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Fyffe" <c...@sixty4bit.com>
Subject Aggregate
Date Fri, 16 May 2003 05:11:40 GMT
I am new to the list but I have searched all over the net (google,
mail-archive, etc) for how to do aggregates with Torque. Basically I
want to do:

select category_name, avg(quantity) from stock group by category_name

Am I forced to use sql in this instance, or am I missing a feature that
is documented somewhere?

What would the java for this look like?


View raw message