I
I
inilim22021-11-25 22:21:40
SQL
inilim2, 2021-11-25 22:21:40

Unique value and descending sort?

619fe233029f7671158371.png
619fe23a019f8881583581.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pazitiv, 2021-11-26
@inilim2

SELECT name,  SUM(viewersCount) AS viewersCount
FROM   games_stat
GROUP BY name
ORDER BY viewersCount DESC

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question