nulls first/nulls last可以帮助我们在处理含有空值的排序排列中,将空值字段记录放到最前或最后显示,帮助我们得到期望的结果。
注:https://www.cnblogs.com/sooner/p/7727774.html
select * from T_HZOA_FILES where srctablename='T_HZOA_APP_GWFW' order by createtime desc nulls last
nulls first/nulls last可以帮助我们在处理含有空值的排序排列中,将空值字段记录放到最前或最后显示,帮助我们得到期望的结果。
注:https://www.cnblogs.com/sooner/p/7727774.html
select * from T_HZOA_FILES where srctablename='T_HZOA_APP_GWFW' order by createtime desc nulls last