Re: missing FROM-clause entry for table

From: Erwin Moller <erwin(at)darwine(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: missing FROM-clause entry for table
Date: 2008-11-12 18:30:36
Message-ID: 491B20CC.60507@darwine.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Raymond O'Donnell schreef:
> On 12/11/2008 18:08, Erwin Moller wrote:
>
>> LEFT OUTER JOIN tblcategorypropertylang AS CPL ON
>> ((CLP.languageid=DRV1.languageid) AND
>> (CPL.categorypropertyid=DRV1.categorypropertyid));
>>
>> ERROR: missing FROM-clause entry for table "clp"
>>
>
> You've a typo in the query - the table alias is CPL, not CLP.
>
Oh my....
/me slaps head against the wall.
And I checked that query 2 times before posting here....

Maybe it is time to call it a day. ;-)

Thanks Ray! (And Adrian)

Regards,
Erwin Moller
> Ray.
>
> ------------------------------------------------------------------
> Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
> rod(at)iol(dot)ie
> Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
> ------------------------------------------------------------------
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brendan Jurd 2008-11-12 18:34:00 Re: [GENERAL] Very slow queries w/ NOT IN preparation (seems like a bug, test case)
Previous Message Heikki Linnakangas 2008-11-12 18:26:22 Re: [GENERAL] Very slow queries w/ NOT IN preparation (seems like a bug, test case)