时间:2021-07-01 10:21:17 帮助过:5人阅读
1,排在最前面用order by name nulls first;(name是字段名)
eg:select t.name,t.code from table t where t.code!=‘1‘ order by name nulls first;
2,排在最后面order by name nulls last;(name是字段名)
eg:select t.name,t.code from table t where t.code!=‘1‘ order by name nulls last;
oracle 空值排序,排在最前面或者最后面
标签:code ali oracle ble sel tab null fir enter