Eric,

Did u ever figure out how to create a criteria with 'MIN' ? Any help is much
appreciated.   I followed the link below,  but it only refers to DISTINCT !

Mansour
:-)

-----Original Message-----
From: Eric Emminger [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 12, 2003 12:59 PM
To: Apache Torque Users List
Subject: Re: MIN, MAX, AVG etc.


Jukka

Jukka Raanamo wrote:
> How do you get Torque to generate query like:
> 
> select distinct field1, min(field2) 
>                         ^^^^^^^^^^^
> from table
> group by field1

http://marc.theaimsgroup.com/?l=turbine-torque-user&m=105372021214290&w=2

Eric


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to