Back to MongoDB for Educators Home

Querying in Non-Relational Databases

Open in Google Drive
Download
download

Course Outline

This course takes a deep dive into querying in MongoDB using the MongoDB Query Language (MQL). The course covers common commands used for CRUD operations, querying complex data with operators and compound conditions, and an overview of querying in non-relational vs. relational databases. The content is geared towards learners who have some familiarity with querying in a relational database and would like to know more about how to do so with simple and complex data in a document model database. The course includes hands-on exercises through the MongoDB Web Shell.

Course Format

The course is organized into four lessons. It is recommended to go through the lessons in sequential order as the content and complexity builds as you go on. The lessons are formatted on slide decks with detailed instructor notes. There are also corresponding PDF versions available to download. They can be used as lectures during the semester, for ascrynous learning, and or/ as complementary material to a MongoDB University course.

The hands-on exercises in the slides utilize the MongoDB Web Shell or mongosh. The slides contain instructions on how to launch and connect to the shell.

Quiz questions and answers on key concepts are embedded throughout the lessons to enhance knowledge retention.

Lesson Slides

  1. Querying in Relational and Non-Relational Databases

  2. MongoDB Query Language (MQL)

  3. Querying Complex Data in MongoDB with MQL

  4. Querying Data with Operators and Compound Conditions

The materials are freely available for non-commercial use and are licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.