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