![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
20/05/2012, 00:11
|
![Avatar de liloo6retug](http://static.forosdelweb.com/customavatars/avatar358713_1.gif) | | | Fecha de Ingreso: junio-2010 Ubicación: Marsella
Mensajes: 109
Antigüedad: 14 años, 8 meses Puntos: 11 | |
Respuesta: consultas SQL varias PRUEBA HACIENDOLO ASI:
SELECT SUM(pasajeros) AS CantidadPasajeros, cod_ruta FROM recorrido GROUP BY cod_ruta. |