EN CONSTRUCCIÓN LA MEJOR WEB DE ROBOTS DE BOLSA

SELECT sum(profit) as mo, count(*) as nu, (sum(profit)/count(*)-2.2) as bruto ,(sum(profit)/count(*)-2.2)*count(*) as neto,spread, user FROM `trading` group by user ORDER BY `neto` DESC