I need help converting sql code to sqlalchemy

前端 未结 0 586
一向
一向 2021-01-31 13:19

WITH ranking AS( SELECT name,SUM(revenue) AS total_revenue,State, RANK() over (PARTITION by year ORDER BY SUM(revenue) desc) AS revenue_rank,year FROM (SELECT a.name,c.State,ii.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题