| List: | General Discussion | « Previous MessageNext Message » | |
| From: | John Coder | Date: | December 28 2002 3:18am |
| Subject: | RE: ORDER dilemma | ||
| View as plain text | |||
Hi all, I am kinda of a beginner in this mysql thing, so please excuse the dumb and amateur question: i have a table with several date fields: day, month, year, hour, minute and i need to order them by a specific "string that includes them, like this: "year/month/day - hour/minute" basically i need some select command like this: SELECT * FROM NEWS ORDER BY "year/month/day - hour/minute" DESC LIMIT 10 How can i do such a thing? Thanks. look at: http://www.mysql.com/doc/en/String_functions.html John Coder
| Thread | ||
|---|---|---|
| • style question: "drop database" in an install script | David T-G | 28 Dec |
| • ORDER dilemma | Pag | 28 Dec |
| • RE: ORDER dilemma | John Coder | 28 Dec |
| • Re: ORDER dilemma | Dan Nelson | 28 Dec |
| • Re: style question: "drop database" in an install script | iConnect \(Berlin\) Stefan Hinz | 28 Dec |
| • RE: style question: "drop database" in an install script | Arthur Fuller | 30 Dec |
| • Re: style question: "drop database" in an install script | David T-G | 30 Dec |
| • Re: style question: "drop database" in an install script | David T-G | 28 Dec |
