Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/09/2005, 01:21
chiririo
 
Fecha de Ingreso: agosto-2005
Mensajes: 101
Antigüedad: 21 años, 1 mes
Puntos: 0
Prueba esto, a ver que tal:

Código PHP:
(select * from site_sentences where s_context = 'block' and lang_id='es') union (select * from site_sentences where s_context = 'block' and s_code not in (select s_code from site_sentences where s_context ='block' and lang_id ='es'));