I have a table with numeric coloumn, named 'debt'. Values: 350, 3500, 350000. I want to find value just for 350, not others.
When I tried with this:
SELECT * FROM rekkor WHERE debet::TEXT LIKE '350%'
Resulting all values.
But when I changed to:
SELECT * FROM rekkor WHERE debet::TEXT = '350'
there was no result at all.
What is the right script?