
There is a link to Cheatsheet - https://www.dropbox.com/sh/e2w3bqgo73ugeop/AAC8T9PApP0rBOkIovEJWjOga?dl=0
Explore the fundamentals of databases and compare sql and nosql structures. See how relational tables differ from document based stores like MongoDB, with schema flexibility and collection organization.
NoSQL vs SQL: SQL uses a defined schema and joins for complex queries, while NoSQL stores data in a single document or collection for fast, simple queries.
Explore the CRUD operations in MongoDB—create, read, update, and delete—using insert and find examples within a collection, and learn about unique keys for documents.
Stop the MongoDB shell and server by pressing ctrl-c in both terminals, then close them before exiting; use ctrl-c on Mac, not command-c, and keep port 27017 in mind.
Start the MongoDB server, switch to a new database named test, and create a users collection to store data, validating with show databases and show collections.
Insert documents into the users collection in MongoDB using key-value pairs, including name and age, with strings quoted and integers left unquoted, and read the insert result.
Explore advanced find queries in MongoDB, combining name and age filters, missing fields with null, and $gt/$lt comparisons to retrieve users by age, and see how to update a document.
Learn to delete documents in MongoDB using db.users.remove with a query, removing by name or by age, and verify with db.users.find; understand the irreversible risk of mass deletions.
Learn to establish one-to-one, one-to-many, and many-to-many relationships in MongoDB using shared keys across collections, with user accounts, blog posts, and social connections as examples, plus embedded documents.
Explore embedded documents to model one-to-many relationships in MongoDB by storing a user's blog posts inside the user document as a posts array, with posts identified by array position.
Explore case study #1: design a blog site database in MongoDB by contrasting one-to-many relations across separate collections with embedded post documents, using default _id and integer identifiers.
Evaluate embedded documents versus separate collections in MongoDB, as use-case dependent decisions determine when to embed or separate, to minimize loading and enable single-query data access.
Install MongoDB Compass on Mac, connect to the local server, and visualize databases including admin, config, local, and test with the users collection; start mongod on port 27017 if needed.
Update each user document with a num_posts count by aggregating their posts, then compare counts across users to enable efficient analysis and set the groundwork for embedded documents and design.
Explore embedded documents in MongoDB by storing a user's posts as an array of post objects within the user document, and compare embedding with separate collections for efficient analysis.
Differentiates quantitative data, which can be counted and directly compared (likes, views, date created), from categorical data, which fits into non-comparable categories (topic, body, post id, user id).
Apply projection to return only the fields you need for analysis, improving readability. Explore distributions of topics and likes in blog posts using percentages and midpoints.
Apply the midpoint method to explore quantitative data and identify when it yields meaningful insights. Recognize how outliers and data context influence results in purchases and unit price analyses.
Explore data analysis techniques in MongoDB for data analytics by applying exploration methods to identify insights and correlations from blog post topics and purchase patterns.
Identify correlations by combining queries to compare topic distributions and likes across date ranges, revealing how topics and likes relate to performance in MongoDB data analytics.
Analyze blog post data in separate and embedded MongoDB structures, project topic and engagement metrics, and practice queries and projections using MongoDB Compass.
Explore the MongoDB dataset structure for data analytics, focusing on users and posts collections. Learn to sort by likes to identify top posts and analyze topic and time effects.
Explore the dataset's blog post distribution across views, likes, dislikes, and date created, revealing min, max, midpoint values, and the percentage shares around these benchmarks.
Learn to use the $and operator to combine conditions in MongoDB queries, filtering by date created and likes, and examine correlations among topics, date created, and views and dislikes.
Explore how date created correlates with dislikes and views in blog posts using the and query operator, adjusting midpoints and date buckets before and after July 1, 2018.
Analyze how the date created correlates with post performance in MongoDB for data analytics by comparing two time buckets and examining how likes, dislikes, and views vary, with percentage insights.
Explore how blog post topics correlate with views, likes, and dislikes using end query operator. Analyze politics, gaming, music, sports, and health across post counts to gauge engagement.
Learn to query posts by topic using the or and in operators in MongoDB Compass, combining sports, gaming, and politics to return 586 posts (58.6%).
Apply the $in operator to filter documents by multiple topics and combine it with and/or queries to analyze how likes, dislikes, and views distribute across categories.
Prepare the dataset by importing a blog dataset of 200 users with posts embedded in user documents, and learn querying techniques to analyze embedded data in MongoDB Compass.
Query embedded documents in MongoDB using dot notation to match posts in a user’s posts array. Combine criteria like gaming and 20+ likes using shorthand syntax to return eligible users.
Explore embedded documents by projecting age, date created, and posts to analyze how age and date created correlate with post likes. Compute min, max, and midpoint to reveal user distributions.
Review the distribution of users by age and date created, including min/max, the 33-year midpoint, counts and percentages, and note the upcoming exploration of correlations with blog post likes.
Explore how embedded documents expose correlations between age and date created fields and post likes, using dot syntax to query posts.likes for 300+ likes.
Review the ecommerce data exploration, noting earliest purchase in 2010-12-01 and latest in 2011-01-11, a 2010-12-22 midpoint, and distribution shifts after adjusting thresholds for quantity and unit price.
Explore correlations between invoice date and quantity, and between invoice date and unit price, using MongoDB queries in this practical e-commerce data analytics tutorial.
In this course, we'll begin by covering the basics of MongoDB and the key differences between NoSQL and SQL to help you build an intuitive understanding of foundational concepts for the course. This will be followed by engaging practical exercises to help you understand how to use database operations in the Mongo Shell.
You'll then move on to designing your own database to store data for a blogging website, exploring how different data structures can be best-suited to solve different problems depending on the use case.
Finally, we'll move on to data analysis. You'll use filtering, projection, sorting, and querying complex data structures to extract actionable insights from real world datasets. You'll build these skills through a blogging website case study and then apply them on an E-Commerce data analysis challenge.