Hola, he intentado hacer un reporte del resultado de una consulta pero no he logrado nada,
la cuestion es que quiero que me salga el reporte agrupado
mi consulta es esta
Código SQL
[-]
Select cargat.carga, cargat.nocarga, cargat.fecha, tcomb.ntcomb from cargat,tcomb Where cargat.fecha between inicio and fin and cargat.idtcomb=tcomb.idtcomb Order By cargat.fecha
ejemplo
Código:
ntcomb fecha nocarga carga
1050
10/2/2012 1052 200
11/3/2012 5023 150
5901
1/2/2012 4050 220
Algo Asi, espero que me puedan ayudar