![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#2
|
||||
|
||||
|
Hola.
Puedes hacer algo de este estilo : Código:
select CLI_ID, CLI_NOMBRE, CLI_APELLIDOS
from CLIENTES
inner join FACTURAS on FAC_CLI_ID = CLI_ID and FAC_FECHA between :DESDE and :HASTA
group by CLI_ID, CLI_NOMBRE, CLI_APELLIDOS
having sum(FAC_TOTAL) > 3000
__________________
Marc Guillot (Hi ha 10 tipus de persones, els que saben binari i els que no). Última edición por guillotmarc fecha: 06-11-2003 a las 14:02:06. |
|
|
|