![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#6
|
||||
|
||||
|
Entonces prueba lo siguiente:
SELECT * FROM Catalogo INNER JOIN (Detalle inner join Encabezado ON Detalle.Numero_Transacion = Encabezado.Numero_Transacion) ON Catalogo.Cuenta = Detalle.Cuenta where format(Detalle.fecha_transacion, 'yyyyMMdd') >= format(:pfecha_inicial, 'yyyyMMdd') and format(Detalle.fecha_transacion, 'yyyyMMdd) <= format(:pfecha_final, 'yyyyMMdd') and Encabezado.Nulo = 'NO' order by Detalle.Cuenta, Detalle.fecha_transacion; |
|
|
|