Ver Mensaje Individual
  #4  
Antiguo 21-07-2006
Avatar de gluglu
[gluglu] gluglu is offline
Miembro Premium
 
Registrado: sep 2004
Ubicación: Málaga - España
Posts: 1.455
Reputación: 21
gluglu Va por buen camino
Sigo sin entender a qué te refieres cuando dices '... cuyos clientes no tengan otra factura posterior'.

Posterior a qué factura ? Qué condición es la que impones ?

Sigo diciendo que pruebes con un Select anidado : algo así como
Código SQL [-]
Select * from TABLA
where id_factura > (Select Max(Id_Factura) from TABLA where Total_Factura > 100)

No sé si esto te sirve de ayuda.
__________________
Piensa siempre en positivo !
Responder Con Cita