I can't use 'time' word as my column name in mysql query.
This is my query code:(Not Working)
UPDATE ip_p SET deger = '-1' TIME = '123' WHERE ip = '12' AND premium = '1'
Error is:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'time='123' WHERE ip = '12' AND premium = '1'' at line 1
But this code is working:
UPDATE ip_p SET deger = '-1' WHERE ip = '12' AND premium = '1'
Will I have to change my column name?