sqlalchemy orm group by twice in a single statement

后端 未结 0 1879
野的像风
野的像风 2021-02-05 15:04

I have the following SQL statement that I\'m trying to convert into a sqlalchemy ORM query:

select name, max(pnl) from 
    (
       select name, filedate, sum(pn         


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