BC2402 Designing and Developing Databases – Week 9 Class Exercises, Singapore

University Nanyang Technological University (NTU)
Subject BC2402: Designing and Developing

Week 9 Class Exercises – Basic noSQL 

Case: Box Office

Download and import boxoffice.json onto your MongoDB environment.

MongoDB environment

Hire a Professional Essay & Assignment Writer for completing your Academic Assessments

Native Singapore Writers Team

  • 100% Plagiarism-Free Essay
  • Highest Satisfaction Rate
  • Free Revision
  • On-Time Delivery

1. You can import the json file using MongoDB compass

Database Name: boxoffice

Collection Name: moviestarts

MongoDB

2. Click on Add Data. Select “Import JSON or CSV file”

Import JSON or CSV file

3. Click on ADD DATA, then Import File

3. Click on ADD DATA

4. Specify your file location. Click IMPORT.

Click IMPORT

5. Click “Import”

Click “Import”

 

5. Click “Import”

Required:

Construct find() statements to generate answers for the following (you are encouraged to utilize NoSQLBooster to develop the scripts)

  1. Display the first document
  2. Search all movies that have a rating higher than 9.2 and a runtime lower than 100 minutes
  3. Search all movies that have a genre of “drama” or “action”.
  4. Search all movies that have a genre of “drama” and “action”. You must not use $and.
  5. Search all movies where visitors exceeded expected visitors
  6. Search all movies that have a title contains the letter “Su”
  7. Search all movies that either have a genre of “action” and “thriller” or have a genre of “drama”, and at the same time, have more than 300000 visitors with a rating between 8 and 9.5 (inclusive).

Buy Custom Answer of This Assessment & Raise Your Grades

Get Help By Expert

Many students find BC2402 designing and developing databases assignment challenging because they need practical application of NoSQL queries, constructing find() statements, and managing collections. If you are struggling with tasks like filtering movies, combining conditions, or handling large datasets, expert help can save you time and stress. Our writers at Singapore Assignment Help provide database management assignment help that is plagiarism-free, AI-free, and tailored to Singapore university standards. get our best assignment help service today and get high grades in your assignment.

Answer

Looking for Plagiarism free Answers for your college/ university Assignments.

Ask Your Homework Today!

We have over 1000 academic writers ready and waiting to help you achieve academic success