This will solve. Try it. A random() function produces numbers in fraction numbers. Leave it as is and alias a random function and use that alias outside from inner query.
select * from (select *, random() as rdm from table_name) order by rdm