SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to search as string, you can cast to text like this:
SELECT * FROM books WHERE price::TEXT LIKE '123%'