获取重复次数最多的SQL

SELECT COUNT(MovieID) AS Expr1, MovieID
FROM online where logtime>'2008-10-1'
GROUP BY MovieID
ORDER BY COUNT(MovieID) DESC
posted @ 2008-10-07 10:03  苔苔以苔苔以苔  阅读(271)  评论(0编辑  收藏  举报
猪先飞