Re: need some more select help - Mailing list pgsql-novice

From A B
Subject Re: need some more select help
Date
Msg-id dbbf25900907170142v60c0dc83la7a07e89a7c8cdde@mail.gmail.com
Whole thread Raw
In response to need some more select help  (A B <gentosaker@gmail.com>)
List pgsql-novice
> As the error indicates, you must give an alias for subquery
>
> select a,count(1) FROM (select a from X UNION select a from Y ) as
> your_alias_name group by a;

Ohh, I see. I completly misunderstood it earlier.
Thanks for clearing that up :-)

pgsql-novice by date:

Previous
From: A B
Date:
Subject: need some more select help
Next
From: "...tharas"
Date:
Subject: Re: need some more select help