Brug en GROUP BY
forespørgsel og samle funktioner
:
select username, count(*), sum(plus), sum(minus)
from your_table
where username = 'example'
group by username;
Brug en GROUP BY
forespørgsel og samle funktioner
:
select username, count(*), sum(plus), sum(minus)
from your_table
where username = 'example'
group by username;