How to do `SELECT product, min(price) FROM table GROUP BY warehouse` in django ORM

前端 未结 0 1926
夕颜
夕颜 2021-01-06 23:05

If we have table with columns:

warehouse; product; price;

How can we do this SQL query

SELECT product, min(price) FROM table G         


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