$data['count3']=Db::name('renyuan')->where(['cswsurl'!=NULL])->count();用上面的代码提示错误SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 1 LIMIT 1' at line 1求指导怎么写这个统计语句,谢谢了。 最佳答案