Usa un GROUP BY
query e funzioni aggregate
:
select username, count(*), sum(plus), sum(minus)
from your_table
where username = 'example'
group by username;
Usa un GROUP BY
query e funzioni aggregate
:
select username, count(*), sum(plus), sum(minus)
from your_table
where username = 'example'
group by username;