用SQL的case when then else end解決~在order by下case when then else end 判斷就可以解決排序~ sele...
MSSQL : select * FROM project where 1=1 order by det, (CASE when (det='A' or det...