You may try either this:
SELECT A.Type, Count(*) As CountOfType, 100*Count(*)/B.Total As Percentage
FROM yourTable AS A, (SELECT Count(*) AS Total FROM yourTable) AS B
GROUP BY A.Type, B.Total
Or this:
SELECT Type, Count(*) As CountOfType, 100*Count(*)/(SELECT Count(*) FROM yourTable) As Percentage
FROM yourTable
GROUP BY Type, (SELECT Count(*) FROM yourTable)
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886