Ver Mensaje Individual
  #2  
Antiguo 21-02-2011
Avatar de roman
roman roman is offline
Moderador
 
Registrado: may 2003
Ubicación: Ciudad de México
Posts: 20.269
Reputación: 10
roman Es un diamante en brutoroman Es un diamante en brutoroman Es un diamante en bruto
Pues no estoy muy seguro, quizá así:

Código SQL [-]
select * from tabla
having sum(importe_total) = sum(importe_individual)

// Saludos
Responder Con Cita