Database
Progettazione di database SQL e NoSQL, query, ottimizzazione ed esercizi pratici.
MongoDB Training Course - Overview
This comprehensive MongoDB training course is designed for students learning NoSQL databases from scratch. The course materials are organized into clear, progressive modules.
Leggi l'articolo →MongoDB Quick Reference Guide
A quick reference for common MongoDB operations in both mongosh and Python.
Leggi l'articolo →NoSQL Database Training: MongoDB from Scratch
NoSQL stands for "Not Only SQL" or "Non-SQL". It refers to a broad class of database management systems that differ from traditional relational database management systems (RDBMS) in several key ways
Leggi l'articolo →MongoDB Training Materials - Setup Guide
This guide will help you set up your environment to follow along with the MongoDB training materials.
Leggi l'articolo →MongoDB Training — Detailed Instructor & Student Materials
This file expands the course overview into full, ready-to-teach training materials: daily lesson plans, lecture notes, demos, labs with step-by-step exercises and solutions, quizzes, project briefs, and assessment rubric
Leggi l'articolo →MongoDB Shell (mongosh) - Complete CRUD Operations Guide
This guide provides comprehensive examples of all CRUD (Create, Read, Update, Delete) operations in MongoDB using the MongoDB Shell (mongosh).
Leggi l'articolo →Python MongoDB Integration - Complete Guide
This directory contains comprehensive Python examples for working with MongoDB using PyMongo.
Leggi l'articolo →SQL Learning Course - Complete Summary
This comprehensive SQL learning course teaches relational database concepts using MySQL and Python SQLAlchemy, progressing from beginner to advanced levels.
Leggi l'articolo →Getting Started with SQL Learning Course
This guide will help you set up your environment and start learning SQL with MySQL and Python SQLAlchemy.
Leggi l'articolo →Relational Database Learning Course
This comprehensive course teaches relational database concepts using MySQL and Python SQLAlchemy. Students will learn SQL from beginner to advanced levels, with practical examples and hands-on exercises.
Leggi l'articolo →Lesson 1: Database Setup and Connection
A relational database is a type of database that stores and provides access to data points that are related to one another. It uses tables to organize data into rows and columns, where: Tables represent entities (like cu
Leggi l'articolo →Lesson 2: Creating Databases and Tables
Create a database and tables for a library management system with the following entities
Leggi l'articolo →Lesson 3: Data Types and Constraints
Create tables for a blog system with the following requirements: Users table: id, username (unique), email (unique), password_hash, first_name, last_name, bio (TEXT), avatar_url, created_at, updated_at Categories table:
Leggi l'articolo →Lesson 4: Inserting Data
Using the e-commerce database from Lesson 3, insert sample data: Categories: Electronics, Clothing, Books, Home & Garden, Sports Products: At least 10 products across different categories Customers: At least 5 customers
Leggi l'articolo →Lesson 5: Querying Data (SELECT)
Write queries to: Find all active students with GPA above 3.5 Find students whose last name starts with 'S' or 'D' Find students enrolled in 2023, sorted by GPA (highest first) Find the top 5 students by GPA Count studen
Leggi l'articolo →Lesson 6: Updating and Deleting Data
Write UPDATE statements to: Change student ID 1's GPA to 3.8 Update all active students' status to 'graduated' if GPA >= 3.5 Set phone numbers to NULL for students with email '@test.com' Update course descriptions to inc
Leggi l'articolo →Lesson 7: Joins and Relationships
Write queries to: Show all students with their enrolled courses Show all courses with their department names Find students who haven't enrolled in any courses Find courses with no enrollments
Leggi l'articolo →Lesson 8: Database Design Principles and Normalization
Database design is the process of creating a detailed data model of a database. It involves: Analyzing requirements and understanding business rules Identifying entities and their relationships Designing tables with appr
Leggi l'articolo →Lesson 9: MySQL Database Functions with SQLAlchemy
Database functions are built-in operations that perform specific tasks on data. They can: Transform data (format, convert, calculate) Extract information (dates, substrings, patterns) Perform calculations (mathematical o
Leggi l'articolo →Lesson 10: Aggregation Functions
By the end of this lesson, you will be able to: Use basic aggregation functions (COUNT, SUM, AVG, MIN, MAX) Group data using GROUP BY clauses Filter grouped data with HAVING Understand the difference between WHERE and HA
Leggi l'articolo →Lesson 13 Supplement: Stored Procedures Practice (Loops, Management, Worked Examples)
This file is the hands-on companion to Lesson 13: Stored Procedures and Functions. Lesson 13 explains the concepts; this supplement adds loop constructs, procedure management commands, longer worked examples and practice
Leggi l'articolo →Lesson 11: Subqueries
By the end of this lesson, you will be able to: Explain what a subquery is and where one can appear (SELECT list, FROM, WHERE, HAVING) Write scalar, row, column and table subqueries Choose between IN, EXISTS, ANY/SOME an
Leggi l'articolo →Lesson 12: Views and Indexes
By the end of this lesson, you will be able to: Create and manage database views Understand different types of indexes Implement appropriate indexing strategies Use views for security and data abstraction Optimize query
Leggi l'articolo →Lesson 13: Stored Procedures and Functions
By the end of this lesson, you will be able to: Create and execute stored procedures Define user-defined functions Use parameters in procedures and functions Handle errors and exceptions Understand security implications
Leggi l'articolo →