Unknown column 'fg' in 'where clause'
select count(*) as total from ***_ecms_max where classid in (699,700,1648,1649,1650,1651,1652) and (fg like '%fs%')