I have been programming the whole night and now i am all drained out! :-)
i have simple question but i dont remember.
if i have a DB field which contains the following data
10
10
10
10
14
14
14
12
12
I want to count the distinct numbers and order the result by the amount of distinct numbers.
so it should be ordered like
2 and return 10
3 and return 14
4 and return 12
i hope you understand what i mean.