例子:

select distinct substr(name,5) from hvm_cfg_data where stationid='12010013'

查询表中name字段从第5个字符以后的字符串。

select distinct substr(name,5,2) from hvm_cfg_data where stationid='12010013'

查询表中name字段从第5个字符开始2个字符的字符串。  

 

相关文章:

  • 2021-12-10
  • 2021-11-02
  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
  • 2018-02-12
  • 2021-06-13
猜你喜欢
  • 2022-02-09
  • 2022-12-23
  • 2022-02-09
  • 2021-12-26
  • 2022-02-09
相关资源
相似解决方案