|
|||||||||||
|
Re: [GENERAL] "Concatenate" two queries - how?
From: Harald Fuchs <hf0217x(at)protecting.net>
Date: Wed Oct 24 2007 - 15:51:13 EDT
> am Wed, dem 24.10.2007, um 15:08:51 +0200 mailte Stefan Schwarzer folgendes: >> Now, I want to enable queries which display national as well as >> regional values. I could probably work with independent queries, but >> I think it would be "cleaner" and more efficient to get everything >> into a single query. >> >> Can someone give me a hint how this would work? >> >> Thanks a lot! > select ... UNION select ... Apparently Stefan doesn't know about UNION, and thus he probably doesn't know that UNION ALL is almost always preferrable.
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
Received on Wed Oct 24 15:55:05 2007This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 18:48:48 EDT |
||||||||||
|
|||||||||||