select customers.customer_id ,customer_name ,count(distinct orders.order_id) feb_2024_order_count ,ifnull(round(sum(qty*price),2),0) feb_2024_total_amount ,ifnull(round(ifnull(round(sum(qty*price),2),0)/count(distinct orders.order_id),2),0) feb_2024_avg_order_amount ,min(order_date) feb_2024_first_o...