MySQL Forums
Forum List  »  New in 4.1: Subqueries

Re: ORDER BY for every SELECT query with UNION does not work
Posted by: Syed Wajahat Iftikhar
Date: June 23, 2008 02:45AM

UNION do not allow ordering on individual queries before joining/merging. Only workarround i can think of is to use temporary table to store sorted result set into it and then selecting it back. No UNION in there :)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: ORDER BY for every SELECT query with UNION does not work
2449
June 23, 2008 02:45AM


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.