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