热门
暂无个人介绍
暂时未有相关通用技术能力~
暂时未有相关云产品技术能力~
阿里云技能认证
create table tab1(id int,str varchar(100))
insert into tab1(id) values (0),(1),(2),(3)
commit;
select id,case when id=2 then 1 when id=1 then 2 else id end order_id from tab1 order by order_id
这样?