Topic: how to get user at max value

Hi friends,
I have one table contains columns id,user_id,steps.

I want to get topuser which is get by max(sum(steps column))
i have written query as


SELECT MAX(value),user FROM (select sum(steps) as value,user_id as user from steps_details where updated_at between