Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/02/2010, 16:36
jurena
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 16 años, 1 mes
Puntos: 300
Respuesta: Problema con UNION

¿Has probado así?

(SELECT TITULO,ARCHIVO FROM referencias WHERE CATEGORIA='partners' AND MATCH(TITULO) AGAINST ('$busqueda') ORDER BY TITULO)
UNION DISTINCT
(SELECT TITULO,ARCHIVO FROM referencias WHERE CATEGORIA='partners' AND MATCH(TEXTO) AGAINST ('$busqueda') ORDER BY TITULO)