Total Hits Course wise According to date

Total Hits Course wise According to date

by roc mehra -
Number of replies: 0

Hi ,

I need report to get the totalhits date and course vise.

SELECT COUNT(l.id) hits, l.course courseId, c.fullname coursename
FROM mdl_log l INNER JOIN mdl_course c ON l.course = c.id
GROUP BY courseId
ORDER BY hits DESC

This gives me output like this

It gives me the total hits . But  need date wise.

Any Solution.

Thanks in advance

Average of ratings: -