sqlite语句order by column (为字符类型),但是要以数字类型排列,怎么转换?

解决方法:将column字段 string类型转换为int类型

                   select* from Table order by CAST(column as int)

相关文章:

  • 2021-10-20
  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-11-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
  • 2021-08-06
  • 2022-12-23
相关资源
相似解决方案