Cant conver sql to django queary (having dont work)

前端 未结 0 985
隐瞒了意图╮
隐瞒了意图╮ 2020-12-22 03:54

I have next sql:

SELECT stock_id, consignment_id, SUM(qty), SUM(cost) 
FROM warehouse_regсonsignmentproduct
Where product_id = \'1\'
Group BY  stock_id, consi         


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