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


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

若文章对您有帮助,帮忙点个赞!

0
0
发布时间 2013-10-22 11:08:01