with t3 as ( # 计算基础指标 select product_id , round(sum(unit_price*quantity),2) total_sales , round(max(unit_price),2) unit_price , sum(quantity) total_quantity , round(sum(unit_price*quantity)/12,2) avg_monthly_sales from orders left join products using(product_id) where year(order_date)='2023' group b...