数据库字段:
想要的结果:
实际查询的结果:
解决方法:使用CAST函数把varchar2转为int类型
order by CAST(CODE AS INTEGER)
贡献者
分享
程序员松彬
这家伙很懒,只想把你留下。
该资源仅限VIP专享下载