Question: USING MONGODB ONLY!! 1. Follow the reading materials and write scripts to create collections for the data in the following relational model: 2. Find the
USING MONGODB ONLY!!
1. Follow the reading materials and write scripts to create collections for the data in the following relational model:
2. Find the document with ename as JONES
3. For all the documents inserted by Question 1, find their timestamps
4. Find the last three employees documents inserted in Question 1
5. Find the ObjectID of all the documents in the employees collection created in Question 1
6. Find the ename, hiredate, and job fields of all the documents in the employees collection in Question 1
7. Find the top three salary makers in the employee collection
8. Find the first five employees hired by the company
9. Create a new user account with readWrite permission for your database
10. Find the last document you inserted into the employee collection
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
