当前SQL语句查询错误

当前SQL语句:SELECT c.lng,c.tid,c.pid,c.mid,c.topid,c.upid,c.linkid,c.gotoid,c.styleid,c.purview,c.ismenu,c.isaccessory,c.ispart,c.pageclass,c.isclass,c.isline,c.typeurl,c.gotoline,c.pagemax,c.iswap,c.typename,c.content,c.typepic,c.dirname,c.filenamestyle,COUNT(a.tid) AS has_c FROM espcms_document_typelist AS c LEFT JOIN espcms_document_typelist AS a ON a.upid = c.tid WHERE 1=1 AND c.isclass=1 GROUP BY c.tid ORDER BY c.upid,c.pid,c.tid查询失败,请检查语句是否正确!

若您不理解上述内容,请联系您的服务提供商。。