Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/09/2009, 01:15
quimfv
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Sabadell
Mensajes: 4.897
Antigüedad: 16 años, 2 meses
Puntos: 574
Respuesta: Cosulta SQL dificil :S

Supongamos

data_appcreator
idaplicacion
fecha
nombre

resp_appcreator

idresp
idaplicacion
....


luego


Código sql:
Ver original
  1. SELECT dt.nombre,
  2.            COUNT(*) AS Respuestas
  3. FROM resp_appcreator AS resp LEFT JOIN data_appcreator AS dt
  4.           ON resp.idaplicacion=dt.idaplicacion
  5. GROUP BY resp.idaplicacion
  6. HAVING COUNT(*)>=10;


Si?

Quim