syntax error: SELECT COUNT(*) AS visitip FROM counter WHERE ip='162.158.79.84' AND (tm+'600')>'1606195381'