$ 0 0 You need to RANK on all these columns on which you need to do grouping. Keep adding them into order by clause and you will get rank based off of the unique combination of all the columns that you need in grouping. Hope it helps.
You need to RANK on all these columns on which you need to do grouping. Keep adding them into order by clause and you will get rank based off of the unique combination of all the columns that you need in grouping. Hope it helps.