Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/05/2009, 00:35
jurena
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 16 años, 1 mes
Puntos: 300
Respuesta: Select, where a='w' and a='1' and a='f'

Código sql:
Ver original
  1. SELECT nombre FROM gente WHERE zapatos IN ('negros','altos','cuero') GROUP BY nombre HAVING COUNT(DISTINCT zapatos)=3
No lo he probado

Última edición por jurena; 05/05/2009 a las 00:40