Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/11/2008, 11:14
jurena
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 17 años
Puntos: 300
Respuesta: Flitrar COUNT

Tal vez así:

SELECT b.campo1, a.campo2, COUNT(*) cuotas FROM Tabla1 a
INNER JOIN Tabla2 b ON a.id = b.id
GROUP BY a.campo2 HAVING cuotas = 3