(1)
select * from table where name='D'
UNION ALL
select * from table where name<>'D'
(2)
SELECT CASE WHEN [name]='D' THEN 0 ELSE 1 END FLAG,* FROM TABLE
order by flag asc
(1)
select * from table where name='D'
UNION ALL
select * from table where name<>'D'
(2)
SELECT CASE WHEN [name]='D' THEN 0 ELSE 1 END FLAG,* FROM TABLE
order by flag asc