sql语句如下:

select count(*) as lot from OA_sample_check where left(ecnNO, LOCATE(\',\',ecnNO)-1)=\'a1\' 
收藏 打印