oracle字符串排序
oracle字符串排序
select * from table order by to_number(id)
oracle字符串数字部分排序
用正则
select * from table order by to_number(regexp_replace(id,'[^0-9]'))
select * from table order by to_number(id)
用正则
select * from table order by to_number(regexp_replace(id,'[^0-9]'))