I have a Table for Mutilate and Duplicate Records So I want Get New Duplicate Like Group By
I give the Example
My Table example
ID, Item Rate
--------------
1 APPLE 10
2 ORANGE 15
3 BANANA 10
4 APPLE 12
5 APPLE 13
6 ORANGE 14
7 APPLE 20
8 MANGO 22
9 CHERRY 30
10 BANANA 25
then I want Get Like this
ID Item Rate
--------------
7 APPLE 20
6 ORANGE 14
10 BANANA 25
8 MANGO 22
9 CHERRY 30
i have tried query like this
SELECT MAX(ID)as ID, Item,Rate
FROM Sales
GROUP BY Item,Rate
Result is Poor