syntax error: SELECT COUNT(*) AS visitip FROM table_counter WHERE ip='3.145.18.55' AND (tm+'900')>'1717013371'