Mysql 取字段值逗号第一个数据的查询语句


  本文标签:Mysql,字段值,第一个数据

复制代码 代码如下:

select count(*) as lot from OA_sample_check where left(ecnNO, LOCATE(,,ecnNO)-1)=a1