Discuz! info: MySQL Query Error

Time: 2021-12-2 8:02am
Script: /bbs/index.php

SQL: SELECT uid, ip1, ip2, ip3, ip4, username, groupid, invisible, action, lastactivity, fid, system, browser FROM [Table]sessionsWHERE uid <> 0 ORDER BY uid DESC LIMIT 500
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<> 0 ORDER BY uid DESC LIMIT 500' at line 1
Errno.: 1064

Similar error report has beed dispatched to administrator before.