Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use the sample below from the incident document database collection to answer the following questions: (assume the database name is: db and the collection name
Use the sample below from the incident document database collection to answer the following questions: (assume the database name is: "db" and the collection name is: "event"). Explain the answer in your own words. "event_id": "EV141", "details": { "type_code":"COMP", "name":"Painting competition", "category": "Children below 10 years old" } "event_startdate":"ISODate("2021-11-21T08:00:00z"), "event_enddate":"ISODate("2021-11-21T10:00:00z"), "coordinators": [ {"civil_id":"600","person_name":"amani"}, {"civil_id":"1100","person_name":"arwa"} 1, , "event_location":"UAE" } a. b. C. Find all documents in the event collection. Find any document from the event collection where the event location is 'UAE. Find the event documents in which coordinator with civil id 1100 is involved. Find the number of events with the event type code 'COMP' in the collection. Find all the details of events where the end date is before 30-10-2021. [3 marks] (5 Marks) (5 marks] [6 marks] (6 marks] d. e
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started