I have a users table that has a column called money_sent. I want to order this table by money_sent in descending order, and then find
users
money_sent
SELECT Row,user, money_sent FROM (SELECT @row := @row + 1 AS Row, user, money_sent FROM table1 order by money_sent desc) As derived1