开发者

Operator fault in query

SELECT siteapplications.Application, Count(visits.VisitId) AS CountOfVisitId
FROM visits, siteapplications
WHERE visits.SiteApplicationId=siteapplications.ApplicationID and Month([visits.VisitTime)]=month and Year([visits.VisitTime])=year
GROUP BY siteapplication开发者_JS百科s.Application
ORDER BY CountOfVisitId DESC;

I get a operator fault and when I click ok Group by is highlighted??

Can anyone help, thx all


and Month([visits.VisitTime)]

Your paren closing is off

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜