Answered step by step
Verified Expert Solution
Question
1 Approved Answer
All queries in this section must be written in MongoDB platform only. Enrolment department at Eduvos requires a new enrolment system and has therefore, contacted
All queries in this section must be written in MongoDB platform only.
Enrolment department at Eduvos requires a new enrolment system and has therefore, contacted you to developthe database system for them. The database will keep records of the companys departments, instructors, modules, and students.
Each department at Eduvos has multiple instructors working under it though an instructor may only work in asingle department. There are many modules offered at Eduvos, each with its own specialised instructor. Someinstructors may have multiple modules. Modules are uniquely identified by a code the first three letters of itsname, followed by an autoincremented number.
The classes at Eduvos are limited to at most fifty students, who should have an average of ten modules per year. Students are uniquely identified by their student numbers and all their details are stored on the system. The implementation of the above database design will facilitate efficient management of students, subjectallocation, exams schedule, and departmental operations, supporting academic excellence and administrativeprocesses within the institution.
All queries in this section must be written in MongoDB platform only.
Use the above scenario to answer the following questions:
Identify the entities in the given scenario, establish the applicable relationships between the identified entitiesand use this information to design an entity relationship diagram.
Create a database called EduEnrolment using query.
Create the identified five collections in the given scenario.
Store at least five records into each table collection based on the identified attributes into each entity.
Select all students STUDENT sorted by student name in ascending order.
Select all instructors INSTRUCTOR sorted by instructor identity in ascending and instructor name indescending order.
Write a query to obtain find the information of students STUDENT whose names begin with A
Update the MODULE collection by settingchanging any of its existing records to a new value and display therecords in the MODULE collection to confirm the effect of the update operation.
Due to dynamic working requirements at Eduvos, an instructor resigned and ought to be deleted. Create aquery capable of deleting the record of the instructor who resigned to prevent data inconsistency. Use anyinstructor ID of your choice, eg instructorID
Download ALL the database tables collections in JSON format and submit them as portfolio of evidence forworking with a document database.
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 Started