MySQL Forums
Forum List  »  Italian

Re: Aiuto con query sql (UNION) per Mysql
Posted by: mario mandi
Date: November 12, 2010 04:35AM

mi h anno dato la soluzione corretta su altro forum
la posto anche qui, caso mai servisse ad altri

RISPOSTA:

Racchiudi le due SELECT che partecipano alla UNION tra parentesi:

(
(SELECT copp.data as data FROM copp)
UNION
(SELECT fagn.data as data FROM fagn)
)

e sei a posto.

Options: ReplyQuote


Subject
Views
Written By
Posted
4463
November 10, 2010 04:49PM
Re: Aiuto con query sql (UNION) per Mysql
3261
November 12, 2010 04:35AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.