1,排在最前面用order by name nulls first;

eg:select * from table t where t.code!='1' order by name nulls first;

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

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

 

相关文章:

  • 2022-12-23
  • 2021-08-29
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2021-06-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案