SELECT command denied to user 'cncn_admin'@'localhost' for table 'so_work_tmp'
select count(*) as total from cncnso.so_work_tmp where ispic=1 and pid=17