Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/09/2011, 14:14
Avatar de masterpuppet
masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 3 meses
Puntos: 845
Respuesta: [autosugestion] mejorar Query

Talves te sirva CONCAT_WS, algo así:

Código SQL:
Ver original
  1. SELECT *
  2. FROM tabla
  3. WHERE CONCAT_WS(' ', fielda, fieldb)
  4. LIKE 'term%'

Saludos.
__________________
http://es.phptherightway.com/
thats us riders :)