order by case when sort is null then 999999 else sort end
select * from tb order by case when b is not null then 0 else 1 end
34,835
社区成员
254,636
社区内容
加载中
试试用AI创作助手写篇文章吧