On May 22, 9:25 am, byrnejb <[email protected]> wrote:
> The difficulty is that PG sub queries may return but a single column,
> so the second SELECT * is invalid syntax.  Would this be valid SEQUEL?

Actually, PG sub queries in general can return any number of columns,
the reason they require a single column for this query is you are
using id IN.  If you use (id, name) IN, the subquery must return two
columns, etc..

That looks like valid Sequel, so it should work.

Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to