How can I retrieve the count of a pivot table using a where on the two related tables?

前端 未结 0 1269
轻奢々
轻奢々 2020-12-07 10:44

So, I have a table \'orders\', a table \'product_order\' (order_id, product_id) and a table \'products\'.

I want to retrieve the products which appear the most often

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