Reputation: 43
Suppose I have given datasets:
Sr.No|Query
-----
1. a
2. a
3. b
4. b
5. a
I want the following result :
Sr.No | Query | Frequency
1. a 3
2. a 3
3. b 2
4. b 2
5. a 3
Please note that the duplicates should not be removed.
Upvotes: 4
Views: 1319