报错:

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

You have an error in your SQL syntax;

调整后:

You have an error in your SQL syntax;

 

环境:mysql8.0.17

 

相关文章: