Question: 1. Using Mongo shell, create a database and insert the following documents. { song : Babalik Ka Pa Ba, artist : CHNDTR, album : Habang
1. Using Mongo shell, create a database and insert the following documents. \{ "song" : "Babalik Ka Pa Ba", "artist" : "CHNDTR", "album" : "Habang Umuulan", "released" : 2018, \{ "song" : "Bulong", "artist" : "December Avenue", "album" : "Langit Mong Bughaw", "released" : 2019, \} \{ "song" : "Bawat Kaluluwa", "artist" : "IV of Spades", "album" : "CLAPCLAPCLAP!", "released" : 2019, 2. Find the documents or songs that were released in the years 2017 and 2018. Note: a. You can use the pretty() function to display the documents in an organized list (db.collection.find().pretty ()). b. _ids are automatically created by Mongo shell
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
