Question

Instructions:For questions 1-8, use MongoDB Compass and open the movieDB, and open the movie collection to...

Instructions:For questions 1-8, use MongoDB Compass and open the movieDB, and open the movie collection to answer the questions below. Include the query used (make sure to include all stages) and the results of the query.

PLEASE ANSWER ALL QUESTIONS FOR POSITIVE FEEDBACK AND THUMBS UP

Here is an example of what a document in this collection looks like (JSON Pretty Print):

Moviedb.list

{

"_id": {

    "$oid": "573a1392f29313caabcd9caa"

},

"plot": "Many passengers on the Shanghai Express are more concerned that the notorious Shanghai Lil is on board than the fact that a civil war is going on that may make the trip take more than three...",

"genres": [

    "Adventure",

    "Drama",

    "Romance"

],

"runtime": 82,

"cast": [

    "Marlene Dietrich",

    "Clive Brook",

    "Anna May Wong",

    "Warner Oland"

],

"title": "Shanghai Express",

"released": {

    "$date": "1932-02-12T00:00:00.000Z"

},

"year": 1932,

"imdb": {

    "rating": 7.5,

    "votes": 4288,

    "id": 23458

},

"tomatoes": "573a1392f29313caabcd0031"

}

Movie.rotton

{

"_id": {

    "$oid": "573a1392f29313caabcd0031"

},

    "viewer": {

      "rating": 3.9,

      "numReviews": 1452,

      "meter": 82

    },

    "dvd": {

      "$date": "1993-10-20T00:00:00.000Z"

    },

    "critic": {

      "rating": 8.6,

      "numReviews": 15,

      "meter": 100

    },

    "lastUpdated": {

      "$date": "2015-09-10T19:14:21.000Z"

    },

    "rotten": 0,

    "production": "Paramount Pictures",

    "fresh": 15

}

  1. How many movies have an Imdb rating greater than 5 and more than 1500 votes?
  1. Of the films that have 3 genres and feature Paul Muni, what is the total runtime of these films, grouped by year?
  1. What are the titles of the 2 films that have the highest rotten tomatoes critic meters? Return title and critic meters of the films.
  1. Return the average imdb rating by genres among films that feature Kathryn McGuire and Buster Keaton. Present the results based on lowest to highest average rating.
  1. What is the average runtime of movies that have 3 genres, have a runtime less than 100 minutes, and have a year greater than 1932? (hint: arrays start with the number 0)
  1. What is the number of rotten tomatoes viewer reviews on the oldest film in the database? Return the title and number of rotten tomato viewer reviews,
  1. How many films feature Lillian Gish and have over 3,000 viewer reviews on Rotten Tomatoes?
  1. Of the films that feature Paul Robeson, return the 2 films with the lowest imdb rating. Return the imdb rating and title of the films.
  1. Open the moviedb.list collection. Provide the query for connecting the rotten collection to the list collection, in order to join the two.
0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
Instructions:For questions 1-8, use MongoDB Compass and open the movieDB, and open the movie collection to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • Use MongoDB Compass and open the airbnbDB. Uses the airbnb collection to answer the questions below....

    Use MongoDB Compass and open the airbnbDB. Uses the airbnb collection to answer the questions below. Here is an example of what a document in this collection looks like (JSON Pretty Print): Airbnbdb.airbnb {   "_id": "25167125",   "listing_url": "https://www.airbnb.com/rooms/25167125",   "room_type": "Private room",   "minimum_nights": "1",   "maximum_nights": "1125",   "bedrooms": 1,   "beds": 1,   "number_of_reviews": 11,   "bathrooms": {     "$numberDecimal": "1.0"   },   "amenities": [     "Wifi",     "Air conditioning",     "Kitchen",     "Free parking on premises",     "Pets allowed",     "Breakfast",     "Free street parking",     "Heating",     "Smoke detector",     "First aid kit",     "Essentials",     "Shampoo",...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT