这样也可以实现楼主的要求吧select * from table where a>=0 order by a desc,c desc否则用select * from table where a>0 order by c desc
union
select * from table where a==0 order by c desc不过mysql 3.3x以下不支持...
union
select * from table where a==0 order by c desc不过mysql 3.3x以下不支持...
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货