Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/02/2009, 13:43
jurena
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 16 años, 1 mes
Puntos: 300
Respuesta: Fusionar 2 tablas con clausula UNION y agrupar el resultado - access2003 e

Creo que algo así puede hacerse, pero sé si en Access te funcionará

SELECT (
(

SELECT SUM( importe_ingreso )
FROM tabla1 where... group by ...
) + (
SELECT SUM( importe_ingreso )
FROM tabla2 where... group by... )
) AS total