![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
31/10/2007, 20:32
|
![Avatar de Seppo](http://static.forosdelweb.com/customavatars/avatar93639_1.gif) | | | Fecha de Ingreso: marzo-2005 Ubicación: Buenos Aires, Argentina
Mensajes: 1.284
Antigüedad: 19 años, 10 meses Puntos: 17 | |
Re: Agrupar registros pero detallado
Código:
SELECT articulo, SUM(ventas) as sum_ventas FROM articulos GROUP BY articulo
|