Re: missing FROM-clause entry for table - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: missing FROM-clause entry for table
Date
Msg-id 491B1E59.8090002@iol.ie
Whole thread Raw
In response to missing FROM-clause entry for table  (Erwin Moller <erwin@darwine.nl>)
Responses Re: missing FROM-clause entry for table
List pgsql-general
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.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

pgsql-general by date:

Previous
From: Erwin Moller
Date:
Subject: missing FROM-clause entry for table
Next
From: Adrian Klaver
Date:
Subject: Re: missing FROM-clause entry for table