SELECT product_type_code FROM products GROUP BY product_type_code HAVING avg(product_price)  >  (SELECT avg(product_price) FROM products)
What is the code of the product type with an average price higher than the average price of all products?
SELECT product_type_code FROM products GROUP BY product_type_code HAVING avg ( product_price ) > ( SELECT avg ( product_price ) FROM products )
select product_type_code from products group by product_type_code having avg ( product_price ) > ( select avg ( product_price ) from products )
What is the code of the product type with an average price higher than the average price of all products ?