GerryGoldberg
Technical User
- Apr 12, 2001
- 55
My query is:
SELECT code,count(*) as total from myFile GROUP BY code ORDER BY count(*)
I would like to add a column to the resulting dataset that shows the each row's percentage of the total. Can I do this in a single query?
Thanks,
Gerry Goldberg
SELECT code,count(*) as total from myFile GROUP BY code ORDER BY count(*)
I would like to add a column to the resulting dataset that shows the each row's percentage of the total. Can I do this in a single query?
Thanks,
Gerry Goldberg