,jg,jb,djj,cs,lb,gb,111111Unknown column 'gb2' in 'where clause'
select count(*) as total from ***_ecms_chanpin where classid='8' and (jg like '%|8|%' and jb like '%|12|%' and djj like '%|4|%') and gb2="638"