报错:
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 'rank
WHERE
rank.row_num < 11
)' at line 52

调整后:

环境:mysql8.0.17
本文解决了一个在MySQL 8.0.17版本中遇到的SQL语法错误,详细介绍了错误信息和调整后的正确语法,帮助读者理解和修复类似问题。
报错:
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 'rank
WHERE
rank.row_num < 11
)' at line 52

调整后:

环境:mysql8.0.17
542
157
664
50万+

被折叠的 条评论
为什么被折叠?