Error No.1064: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 'AS pt FROM ys_rank_counter WHERE rank >= 1 ORDER BY rank DESC LIMIT 100' at line 1
Query failed SELECT id,rank AS pt FROM ys_rank_counter WHERE rank >= 1 ORDER BY rank DESC LIMIT 100/var/www/138files.com/subdomains/navi/html/php/rank.php100