当前位置:Gxlcms > 数据库问题 > oracle 空值排序,排在最前面或者最后面

oracle 空值排序,排在最前面或者最后面

时间:2021-07-01 10:21:17 帮助过:3人阅读

.code from table t where t.code!=‘1‘ order by name nulls first;

2,排在最后面order by name nulls last;

eg:select t.name,t.code from table t where t.code!=‘1‘ order by name nulls last;

oracle 空值排序,排在最前面或者最后面

标签:

人气教程排行