syntax error: SELECT COUNT(*) AS visitip FROM counter WHERE ip='3.140.242.165' AND (tm+'900')>'1714046012'