Ver Mensaje Individual
  #10 (permalink)  
Antiguo 09/03/2012, 10:21
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Consulta compleja MySQL

Exacto o un NOT IN:
Código MySQL:
Ver original
  1. SELECT * FROM frases WHERE frase_id NOT IN (SELECT frase_id FROM bloqueadas WHERE id_user=15)