Ver originalSELECT COUNT(monto),SUM(monto) FROM partidas WHERE codigo = 'IV00228114' AND TIPO = 'subproducto' AND reporte BETWEEN '2008-01-01' AND '2009-01-31'UNION ALLSELECT COUNT(monto),SUM(monto) FROM partidas WHERE codigo = 'IV00228114' AND TIPO = 'subproducto2' AND reporte BETWEEN '2008-01-01' AND '2009-01-31'UNION ALLSELECT COUNT(monto),SUM(monto) FROM partidas WHERE codigo = 'IV00228114' AND TIPO = 'subproducto3' AND reporte BETWEEN '2008-01-01' AND '2009-01-31'UNION ALLSELECT COUNT(monto),SUM(monto) FROM partidas WHERE codigo = 'IV00228114' AND TIPO = 'subproducto4' AND reporte BETWEEN '2008-01-01' AND '2009-01-31'