MySQL Forums
Forum List  »  Newbie

Re: SELECT * FROM `wytwornice` ORDER BY `czas_pr`DESC;
Posted by: Robert Gie
Date: September 01, 2022 12:18PM

Thank you for your help and interest. I found a solution. I changed the type from TEXT to INT, this caused sorting by value, not by character order. When sorting text, 944 is higher than 1400.
Thanks again.

Options: ReplyQuote

Written By
Re: SELECT * FROM `wytwornice` ORDER BY `czas_pr`DESC;
September 01, 2022 12:18PM

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.