Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
SELECT row_number() OVER ( ORDER BY t.total_score desc ) as position, t.login, t.total_score FROM ( SELECT sum(total_score) as total_score, login FROM vtb_united_league.calculation_month GROUP BY login ORDER BY total_score desc ) as t

Stuck with a problem? Got Error? Ask AI support!

Copy Clear