1、字符串转Integer

SELECT CAST (title as integer)

  FROM xxx where code='-1';

2、字符串转整型之后排序

ordey by cast(unit as integer)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-22
  • 2021-08-24
  • 2021-05-19
  • 2022-12-23
相关资源
相似解决方案