[SIGH]
I was getting the syntax wrong. Just using ON rathar than = fixed
the mistake.
Time to crash for the night (day?) it seems
Thanks for the replies; if I hadn't've figured it out myself they
would have pushed me in the right direction.
-JimC
--
James Cloos <[EMAIL PROTECTED]>
> I've a query which I'd have liked to word akin to:
>
> SELECT guid FROM child WHERE the_fkey =
> ( SELECT id FROM parent WHERE name ~ 'some_regex' )
> ORDER BY the_fkey, my_pkey;
>
> I got around it by doing the SELECT id first, and then doing a SELECT
> guid for each row re
Oops, see correction below...On 9/10/06, Aaron Bono <[EMAIL PROTECTED]> wrote:
On 9/10/06, James Cloos <[EMAIL PROTECTED]> wrote:
I've a query which I'd have liked to word akin to: SELECT guid FROM child WHERE the_fkey = ( SELECT id FROM parent WHERE name ~ 'some_regex' ) ORDER BY
On 9/10/06, James Cloos <[EMAIL PROTECTED]> wrote:
I've a query which I'd have liked to word akin to: SELECT guid FROM child WHERE the_fkey = ( SELECT id FROM parent WHERE name ~ 'some_regex' ) ORDER BY the_fkey, my_pkey;I got around it by doing the SELECT id first, and then doing
I've a query which I'd have liked to word akin to:
SELECT guid FROM child WHERE the_fkey =
( SELECT id FROM parent WHERE name ~ 'some_regex' )
ORDER BY the_fkey, my_pkey;
I got around it by doing the SELECT id first, and then doing a SELECT
guid for each row returned, appendin