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