On Thu, Apr 19, 2007 at 04:03:37PM -0500, Jim Steil wrote:
> SELECT * FROM qucm WHERE plantId IN (SELECT plantId FROM userPlant WHERE
> userId = 2)
Untested:
Qucm.select(IN(Qucm.q.plantId, Select(UserPlant.q.plantId,
where=(UserPlant.q.userId == 2)))
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss