Ver originalSELECT v.id, v.placa, SUM(co.costoFinal) total FROM vehiculo v INNER JOIN ordenServicio os ON v.id =os.idVehiculo INNER JOIN contenidoOrden co ON os.id=co.idOrden WHERE os.facturacion BETWEEN '2014-01-01' AND '2014-01-08' GROUP BY v.id