选择命令错误 [英] error in select command

查看:76
本文介绍了选择命令错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SELECT  B.cat_name as [cat_name],B.articles_count as [articles_count], B.cat_ID as [cat_ID],SUM(A.article_visit) AS [Article_Visit] FROM article_list A LEFT JOIN	category B ON A.cat_ID = B.cat_ID WHERE	A.article_status = 1 AND B.article_allow = 1 GROUP BY(B.cat_name,B.articles_count, B.cat_ID);


错误:
'',''附近的语法不正确.

请帮我如何解决这个问题.

在此先感谢


error:
Incorrect syntax near '',''.

please help me how can i solve this.

Thanks in advance

推荐答案

请尝试


TRY THIS


GROUP BY B.cat_name,B.articles_count, B.cat_ID ;


这篇关于选择命令错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆