Question
On your computer, go to this tutorial to study the basic MongoDB CRUD operations: https://docs.mongodb.com/manual/crud/ Open our lab MongoDB collection at: https://mongoplayground.net/p/xxyyMDsySoJ The collection is
- On your computer, go to this tutorial to study the basic MongoDB CRUD operations: https://docs.mongodb.com/manual/crud/
- Open our lab MongoDB collection at: https://mongoplayground.net/p/xxyyMDsySoJ
- The collection is visible in the "Configuration" column.
- In the "Query" column in the middle of the page, write queries to solve the following questions (you may need to learn some of the MongoDB Operators https://docs.mongodb.com/manual/reference/operator/). For each question, you must include the query command as text and the result screen shot in your submission.
- Find all employees whose salary is higher than 500.
- Update the salary of the employee whose name is "JB" by adding 800 to its current value. (No hardcoded new value. Hint: use $inc)
- Add a new field phone to document with name "RS" and set phone value as "6145555555". (Hint: use $set)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Intermediate Accounting
Authors: Kin Lo, George Fisher
Volume 1, 1st Edition
132612119, 978-0132612111
Students also viewed these Databases questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App