And*_*mar 10
您可以使用case在order by之前其他值排序空值:
select *
from YourTable
order by
case when col1 is null then 0 else 1 end
, col1
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5272 次 |
| 最近记录: |