Assignment Nosql
Assignment Nosql
Create a new MongoDB database named "StudentDB" and within it, create a collection
named "Students” and inserts the above records and execute the given below Queries:
a. Finds students who scored more than 90 in CSE3001 AND scored less than 90 in
CSE3075.
b. Increase the CSE3001 score by 5 marks for all students in section '8CSE6'.
c. Finds students with scores of 80 or less in subject CSE3082.
d. Create an index on age field
e. Find Maximum and Minimum Scores by Age Group
f. Delete all students in the "Students" collection whose age is below 21.
g. Remove the entire "Students" collection from the "StudentDB" database.
2. Demonstrate the following operation in MongoDB.
Create a new MongoDB database named "Scholar" and within it, create a collection named
"Researcher” and inserts the above records and execute the given below aggregation Queries: