select MTAUT_ID,MTAUT_INDEX,MTAUT_PARID from MT005AUT where MTAUT_PARID like '%,%,%' and MTAUT_PARID in ('MT10000')
想同时查询mtaut_parid里有2个逗号,还得有mt10000字符串,这个语法看来不对?
select MTAUT_ID,MTAUT_INDEX,MTAUT_PARID from MT005AUT where MTAUT_PARID like '%,%,%' and MTAUT_PARID in ('MT10000')
想同时查询mtaut_parid里有2个逗号,还得有mt10000字符串,这个语法看来不对?
试试like '%","%","%'