Try using these two queries, substituting your table and query names ---
John_1 ---
SELECT John.Rate, Count(John.Rate) AS CountOfRate
FROM John
GROUP BY John.Rate;
SELECT John.StaffType, John.Qty, John.Rate
FROM John INNER JOIN John_1 ON John.Rate = John_1.Rate
ORDER BY John_1.CountOfRate DESC;

Signature
KARL DEWEY
Build a little - Test a little
> Hi
>
[quoted text clipped - 16 lines]
>
> Regards
Jamie Collins - 11 Sep 2007 15:27 GMT
On 10 Sep, 23:42, KARL DEWEY <KARLDE...@discussions.microsoft.com>
wrote:
> Try using these two queries, substituting your table and query names ---
> John_1 ---
[quoted text clipped - 5 lines]
> FROM John INNER JOIN John_1 ON John.Rate = John_1.Rate
> ORDER BY John_1.CountOfRate DESC;
Simpler:
SELECT John.StaffType, John.Qty, John.Rate
FROM John
INNER JOIN John AS John_1
ON John.Rate = John_1.Rate
GROUP BY John.StaffType, John.Qty, John.Rate
ORDER BY COUNT(*) DESC;
Jamie.
--