I have a yuzeyKo (varchar) table which containing some coordinates like this : 23,45 (longitude,latitude)
For example i will execute an SQL like this :
SELECT COUNT(*) FROM tablename WHERE yuzeyKo = 29,59;
But (ofcourse) this isn’t working. There is a syntax error because i have to escape comma on WHERE yuzeyKo = 29,59;
But there isn’t any special escape character for commas. What should i do?
I’m using MySQL .
Is yuseyKo column a VARCAHR column? if so should your SQL query be: