Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago