Description
1. Create a student collection in MongoDB. Assume suitable fields.
2. Write a MongoDB query to display all the documents in the collection student.
3. Update marks of student “Ram”.
4. Fetch documents having CGPA 9 or branch as Computer.
5. Fetch documents not having branch as “IT”.
6. Fetch documents having CGPA 7 and or native city as “Mumbai”.
7. Fetch documents not having CGPA 9 or branch as Computer.
8. Add new document in the student collection using save() method.
9. Remove document of “Sita”
10. Fetch documents having highest CGPA from computer branch.




Reviews
There are no reviews yet.