SQL server排序时将NULL放到数据集的最下面 ORDER BY CASE when CreateTime is null then 1 else 0 end asc,CreateTime asc