sql >> Base de Datos >  >> RDS >> Mysql

¿Total de datos MySQL?

Utilice un GROUP BY consulta y funciones agregadas :

select username, count(*), sum(plus), sum(minus)
from your_table
where username = 'example'
group by username;