sql - How do I search "many LIKE" in the database (mysql)? -


I want to find the number of strings in the database (type: MYSQL) and I did this:

  SELECT * FROM from 'room' as 'date' like '% 09/08/10%' or '% 08/08/10%'  

Why this work does not do? When I removed the part of or '% 08/08/10%' then it was working well, I think I do not use it well. How do i do it

 select  ... where the dates of '% 09 / 08/10 % 'Or date'% 08/08/10% ' 

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -