select product_id,round(total_quantity*unit_price,2) as total_sales,unit_price,total_quantity, round(round(total_quantity*unit_price,2)/12,2) as avg_monthly_sales, quantity as max_monthly_quantity, customer_age_group from ( select p.product_id,unit_price ,month(order_date) as month,if(customer_age&g...