SyntaxFix
Write A Post
Hire A Developer
Questions
Use the longer version of IN which is a bunch of OR.
SELECT * FROM tablename WHERE column LIKE 'M510%' OR column LIKE 'M615%' OR column LIKE 'M515%' OR column LIKE 'M612%';