I have two sql query outputs from a table , with orders..
One sql order directly from the table and the data is showing right, from last to first. But when i try the same way to show up the data but, this time I use a post met开发者_Python百科hod, so when click submit that data is being shown, but this time the showup begin from the first to the last query . Why is that.The mysql is simple just .
select * from smt order by smtorde
You could also append the way you want the MySQL Sort ordered with ASC or DESC
// Ascending
select * from smt order by smtorde ASC
// Descending
select * from smt order by smtorde DESC
精彩评论