Mga brod expert sa MySQL, what is the reverse of distinct?
Sample input
AAA
BBB
CCC
CCC
DDD
AAA
AAA
Output:
AAA
CCC
I got a solution but I'm not satisfied with performance coz I'm using sub select & I got lots of records, what is your solution to this?