View previous topic :: View next topic |
Author |
Message |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Wed Jan 25, 2006 3:47 am Post subject: Simple Question |
|
|
One simple question reguarding MySQL queries: What additional query do I need to add so that the results that normally come last are first?
Let me know if you need more info. |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Wed Jan 25, 2006 6:47 am Post subject: |
|
|
Err, the order clause in SELECT?
Code: | SELECT * FROM `my_table` WHERE `something` = '1' ORDER BY `id` DESC |
_________________
 |
|
Back to top |
 |
 |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Wed Jan 25, 2006 3:24 pm Post subject: |
|
|
Oh, yea. I forgot to add id's... better do that :D |
|
Back to top |
|
 |
|