MySQL Forums
Forum List  »  Newbie

Re: Date Order help
Posted by: Roland Bouman
Date: July 26, 2005 12:02PM

Hi!

You are now ordring by the constant string literal 'daytime', that is, it is as if mysql generates the same constant for each row and then orders by that.

you should write just daytime, without the enclosing ' s to have mysql order by the value in your daytime column.

Options: ReplyQuote


Subject
Written By
Posted
July 26, 2005 09:04AM
Re: Date Order help
July 26, 2005 12:02PM


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.