Refer to my previous Questions:
Get count of items and their values in one column
Get count percent of a record in a single query
How I can get percentage of intervals? such this example:
ItemId count Percent
------------------------------------
1-2 2 33.3
3-4 4 66.6
thanks