摘要:
【sqlserver】: sqlserver 认为 null 最小。 升序排列:null 值默认排在最前。 要想排后面,则:order by case when col is null then 1 else 0 end ,col 降序排列:null 值默认排在最后。 要想排在前面,则:order by case when col is null then 0 else 1 end , col d... 阅读全文
posted @ 2010-06-21 13:28
Comm100 Testers
阅读(1077)
评论(0)
推荐(0)
浙公网安备 33010602011771号