Is there a way to show only the highest value of a category for each country on a table that has an aggregate function

后端 未结 0 1629
刺人心
刺人心 2020-12-17 07:32

This is the original query I created:

Select DISTINCT COUNTRY, CategoryName, SUM(od.unitprice * od.Quantity) From Categories c Join Products p on c.CategoryID = p.Cat

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