I have a pretty simple question, I think ..
I have a database field that stores the size of the byte files. I want to order the largest file_file, but it does not work as I hoped ...
I tried
SELECT * FROM file_data ORDER BY file_size DESC
and
SELECT * FROM file_data ORDER BY MAX( file_size ) DESC
Thanks.
EDIT:
The reason it does not work as expected is because these are the results of the first query:
ID file_size 13 980616 200 9782897 199 9732752 187 967006 166 9614688 12 9481028 44 945120 65 9228440 208 92140357
source share