2011-05-20 107 views
0
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 siteapplications.Application 
ORDER BY CountOfVisitId DESC; 

我得到一個操作員故障,當我點擊確定時,Group by被高亮顯示?查詢中的操作員故障

誰能幫助,THX所有

+2

考慮一個更好的標題。它含糊不清。 – 2011-05-20 19:49:29

回答

1
and Month([visits.VisitTime)] 

你的括號收盤熄滅

+0

thx ...我只是沒看到它! – 2011-05-20 19:52:19