Re: missing FROM-clause notice but nothing is missing ...

From: Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp>
To: Hadley Willan <hadley(dot)willan(at)deeperdesign(dot)co(dot)nz>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: missing FROM-clause notice but nothing is missing ...
Date: 2003-03-28 04:58:52
Message-ID: 3E83D68C.9000601@mega-bucks.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

No go with the view ... same error:

DB=# SELECT products.id
FROM products
WHERE name ILIKE 'AA'

UNION

SELECT prod_id
FROM v_products_cast_crews
WHERE cast_crew=1012

ORDER BY products.id;

NOTICE: Adding missing FROM-clause entry for table "products"
ERROR: ORDER BY on a UNION/INTERSECT/EXCEPT result must be on one of
the result columns

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2003-03-28 05:27:23 Re: missing FROM-clause notice but nothing is missing ...
Previous Message Jean-Christian Imbeault 2003-03-28 04:47:09 Re: missing FROM-clause notice but nothing is missing ...