第一法】
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
第一法】
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