select storeid,row_number() over(partition by storeid order by insertdate desc) row1 from risk_store_score
报错: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 '(partition by storeid order by insertdate desc) row1 from risk_store_score' at line 1
我个人怀疑是不是MySQL版本的原因