Ver originalSELECT producto,SUM(cantidad)AS cantidad_total FROM tablas WHERE fecha>='$fecha' GROUP BY producto ORDER BY cantidad_total DESC LIMIT 7