Aggregation บน Nested Documents ลึกด้วย $unwind และ $group บทความนี้สาธิตการทำ Aggregation บนโครงสร้าง Nested Documents ที่ซับซ้อน (Array of Objects of Arrays) โดยใช้ $unwind หลายขั้นตอนเพื่อ Flatten โครงสร้าง แล้ว $group คำนวณค่าสูงสุด ($max) ขั้นตอนที่ 1: สร้าง Collection และเพิ่มข้อมูลตัวอย่าง ส