Hello everyone, I need your help.
You can simplify this query in MySQL?
Thanks in advance-Code:SELECT * FROM _tbl where uo like '%M2%' or uo like '%M4%' or uo like '%M7%' or uo like ...... or uo like ......
| SitePoint Sponsor |



Hello everyone, I need your help.
You can simplify this query in MySQL?
Thanks in advance-Code:SELECT * FROM _tbl where uo like '%M2%' or uo like '%M4%' or uo like '%M7%' or uo like ...... or uo like ......











oh, wait, i think you could also do this ...but it will be just as inefficient as the LIKE solutionCode:WHERE uo REGEXP 'M2|M4|M6|M7|I1|I5|I6|S1'



Bookmarks