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