这就是我想出的将“默认”浮动到顶部并对其余部分进行排序的方法:
SELECT 'default' AS name, 'AAA' AS tag
UNION
SELECT name, name AS tag
FROM (SELECT DISTINCT TOP (100) PERCENT name
FROM AccountManager
WHERE (name <> 'default')
ORDER BY name) AS derivedtbl_1
ORDER BY tag
有没有更简单/更好的方法?