SyntaxFix
Write A Post
Hire A Developer
Questions
You need to specify the column in both expressions.
SELECT * FROM transactions WHERE id NOT LIKE '1%' AND id NOT LIKE '2%'