Oracle 排序之NUll值的排序

2014-11-24 18:26:35 · 作者: · 浏览: 0

背景:排序时候对NULL值的处理,


1、排在最前:


select xx from student order by xx nulls first;


2、排在最后


select xx from student order by xx nulls last;


然后就搞定了!