Thực hiện các bước sau: • Tạo index cho score • Dùng aggregation với $match để lọc các học sinh có score < 50, sắp xếp theo score giảm dần • Chỉ in ra: student_id, score và 10 kết quả đầu tiên
score
$match
score < 50
student_id
sample_training.grades
Đang tải editor...