Mysql 取字段值逗号第一个数据的查询语句_MySQL
程序员文章站
2022-04-18 20:32:21
...
bitsCN.com
select count(*) as lot from OA_sample_check where left(ecnNO, LOCATE(',',ecnNO)-1)='a1'
bitsCN.com
select count(*) as lot from OA_sample_check where left(ecnNO, LOCATE(',',ecnNO)-1)='a1'
bitsCN.com
上一篇: 高级查询
推荐阅读