SUM of a quantity column when using INNER JOIN and distinct/group by

前端 未结 0 1484
星月不相逢
星月不相逢 2020-12-22 16:46

I have this MySQL query:

    SELECT DISTINCT( rentals.order_item_id ), reserved_date, product_id, quantity, order_id FROM `test_rentals` as rentals
    INNER          


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