How do i querie mysql and list the hightest 5 of a field. It is to show the most downloaded files. When a file is download is adds 1 to a field called dl. I need to list the highest 5 in order.
I am trying this but no real luck! :-
SELECT * FROM db_name ORDER BY viewed DESC LIMIT 5
Any help will be appreciated
Jules