db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Le Berrigaud <leber...@essi.fr>
Subject Re: How to create a join ?
Date Thu, 11 Dec 2003 13:01:00 GMT
You may want to have a look at this page :

http://db.apache.org/torque/peers-howto.html  (at the bottom of the page)

the part named "Examples" seems to be what you want ...

SaM

Cristian Zoicas wrote:

>Hello all
>
>I've tried to figure out how to use the Criteria class in
>order to obtain a statement like
>
>SELECT
>       *
>FROM
>       T1, T2, T3
>WHERE
>       ( T1.id_t1= T2.id_t1 AND T2.id_t3 = T3.id_t3 )
>       OR
>       ( T1.id_t3 = T3.id_t3 )
>
>but I was not able to do it.
>Does anybody has any solution ?
>
>Thank you in advance
>Cristian Zoicas
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
>For additional commands, e-mail: torque-user-help@db.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message