mysql双重条件排序

在order by后面写上用逗号分割的多个字段,他就会按前后数序排序了。就是先按1排,再按二拍

select * from table_name order by xx desc,xx asc;code

相关文章
相关标签/搜索