滴滴侠,fai抖
感谢www.baidu.com/p/dongfanghong_1 sql大神,简单的语法运用起来简直活了。第一法】 select * from table where name='D' UNION ALL select * from table where name<>'D' 第二法】 SELECT CASE WHEN [name]='D' THEN 0 ELSE 1 END FLAG,* FROM TABLE order by flag asc