Ver Mensaje Individual
  #6 (permalink)  
Antiguo 22/03/2003, 16:29
Avatar de kaslierx
kaslierx
 
Fecha de Ingreso: febrero-2003
Ubicación: Valencia
Mensajes: 190
Antigüedad: 21 años, 2 meses
Puntos: 0
Estoy usando esto:

SELECT COUNT(*) FROM noticias WHERE title LIKE '%one%' AND LIKE '%two%' OR subtitle LIKE '%one%' AND LIKE '%two%' OR body LIKE '%one%' AND LIKE '%two%'

Pero me da este error:
You have an error in your SQL syntax near 'LIKE '%two%' OR subtitle LIKE '%one%' AND LIKE '%two%' OR body LIKE '%one%' ' at line 1.

¿Que es lo que pasa?