display only 1 column from the subquery

前端 未结 0 1561
自闭症患者
自闭症患者 2020-12-10 04:15

Here is my query:

select avg(p2.price), p2.brand_name, count(distinct p2.product_id) 
count_of_products
from product p2
group by p2.brand_name
having count(di         


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