GROUP BY
を使用する クエリと
select username, count(*), sum(plus), sum(minus)
from your_table
where username = 'example'
group by username;
GROUP BY
を使用する クエリと
select username, count(*), sum(plus), sum(minus)
from your_table
where username = 'example'
group by username;