B
Bill
Hi All,
Can somebody turn this into a top 10 query (pick the top ten values of the
count for each grouping) for the grouping please. I have tried to follow
Allen's advice on his website but the SQL seems to be beyond me!!!
Any help greatly appreciated.
Regards.
Bill
SELECT Hour([DDate]) AS HHour, [q_Table woth Dates and Times].Site,
Count([q_Table woth Dates and Times].Site) AS CountOfSite
FROM [q_Table woth Dates and Times]
GROUP BY Hour([DDate]), [q_Table woth Dates and Times].Site
ORDER BY Hour([DDate]), Count([q_Table woth Dates and Times].Site) DESC;
Can somebody turn this into a top 10 query (pick the top ten values of the
count for each grouping) for the grouping please. I have tried to follow
Allen's advice on his website but the SQL seems to be beyond me!!!
Any help greatly appreciated.
Regards.
Bill
SELECT Hour([DDate]) AS HHour, [q_Table woth Dates and Times].Site,
Count([q_Table woth Dates and Times].Site) AS CountOfSite
FROM [q_Table woth Dates and Times]
GROUP BY Hour([DDate]), [q_Table woth Dates and Times].Site
ORDER BY Hour([DDate]), Count([q_Table woth Dates and Times].Site) DESC;