Page 1 of 1

Q5) The Table below was created using the UserData collection from the ud database in MongoDB. Assume that each Document

Posted: Fri Jul 08, 2022 6:16 am
by answerhappygod
Q5 The Table Below Was Created Using The Userdata Collection From The Ud Database In Mongodb Assume That Each Document 1
Q5 The Table Below Was Created Using The Userdata Collection From The Ud Database In Mongodb Assume That Each Document 1 (78.27 KiB) Viewed 60 times
Q5) The Table below was created using the UserData collection from the ud database in MongoDB. Assume that each Document maps to a row in the table, based on key-value pairs. You were given partial MongoDB code that will count the number active staff older than 30 displaying youngest to oldest. Write the result to the Older Than Thirty collection. Leanne Graham Ervin Howell Name Clementine Bauch Patricia Leback Kamen Dennis Schulist Kurtis Weissnat Maxime Nienow Glenna Reichert Fill in the blanks: [email protected] [email protected] Email [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] Age 28 35 33 25 34 44 26 30 Status Active Active Inactive Active Active Inactive Active Active Inactive ud. [A].aggregate([{ [Status: 'Active'}, $group_count: { $sum: 1 }, age: {[C]: 30}},{ $sort: age: [D]}},{ $out: [E]}}])
A- B- C- D- E-