MySQL Forums
Forum List  »  General

Re: ORDER BY CASE datatype problem
Posted by: Rick James
Date: August 15, 2015 05:12PM

"sorted not correct" -- What do you mean? ASCending instead of DESCending? Not ordered? Ordered as a string? Ordered as numbers? None of the above?

Your two queries differ in at least these two ways:
WHERE t.is_public = 1
GROUP BY t.id

Options: ReplyQuote


Subject
Written By
Posted
Re: ORDER BY CASE datatype problem
August 15, 2015 05:12PM


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.