GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Shabber10/MySQL: Comprehensive MySQL study notes covering installation, database creation, constraints, CRUD operations, and advanced SQL queries.

BranchesTags
Open more actions menu

Latest commit

 

History

54 Commits
54 Commits

Folders and files

NameName
Last commit message
Last commit date
DAY 01 - Introduction to Databases and MySQL
DAY 01 - Introduction to Databases and MySQL
 
 
DAY 02 - Advanced Filtering with WHERE
DAY 02 - Advanced Filtering with WHERE
 
 
DAY 03 - Aggregations and Grouping
DAY 03 - Aggregations and Grouping
 
 
DAY 04 - Table Joins
DAY 04 - Table Joins
 
 
DAY 05 - Subqueries, Set Operators and CTEs
DAY 05 - Subqueries, Set Operators and CTEs
 
 
DAY 06 - Database Normalization and Keys
DAY 06 - Database Normalization and Keys
 
 
DAY 07 - Altering Tables and Constraints
DAY 07 - Altering Tables and Constraints
 
 
DAY 08 - Transactions and Concurrency
DAY 08 - Transactions and Concurrency
 
 
DAY 09 - Indexes and Views
DAY 09 - Indexes and Views
 
 
DAY 10 - Stored Procedures and Functions
DAY 10 - Stored Procedures and Functions
 
 
DAY 11 - Triggers and Events
DAY 11 - Triggers and Events
 
 
DAY 12 - User Management and Security
DAY 12 - User Management and Security
 
 
DAY 13 - Query Performance and Tuning
DAY 13 - Query Performance and Tuning
 
 
DAY 14 - Capstone Project
DAY 14 - Capstone Project
 
 
assets
assets
 
 
README.md
README.md
 
 

Repository files navigation

🐬 Comprehensive MySQL Masterclass

A structured, 14-day curriculum taking you from absolute beginner to advanced database developer.

MySQL Version License: MIT Status


Welcome to the Comprehensive MySQL Masterclass! This repository is designed to be your ultimate companion in mastering relational databases. Whether you are learning SQL for the first time or looking to build complex schemas, procedures, and perform query optimizations, this step-by-step curriculum provides in-depth explanations, real-world examples, and memory mnemonics.


🚀 Getting Started

How to Use This Repository

This course is structured chronologically. Each "Day" is contained within its own directory.

  1. Start with the first chapter of DAY 01.
  2. Read the theoretical concepts and try out the command snippets in your own MySQL environment.
  3. Learn how to map systems visually using ER diagrams in Chapter 2.
  4. Keep the Memory Shortcuts and Cheatsheet open as a quick reference guide while you learn!
  5. Complete the library system case study walk-through in Chapter 7.
  6. Copy, paste, and run statements from the interactive practice script to see them work in real-time.
  7. Test your skills and review top coding questions in Chapter 9.
  8. Progress day by day through all 14 modules up to the DAY 14 Capstone Project!

📚 Curriculum Overview

Phase 1: MySQL Fundamentals

Day Topic Start Here
01 MySQL Basics & Architecture 1. Introduction to Databases and MySQL.md
Database Design & ER Diagrams 2. Database Design and ER Diagrams.md
MySQL Installation & Command Line 3. MySQL Installation and Command Line.md
Data Types (Exact/Approx Numeric, String, Binary, DateTime) 4. Data Types in MySQL.md
Creating Databases, Tables, & Constraints (DDL) 5. Creating Databases and Tables.md
Basic CRUD Operations (DML / DQL) 6. Basic CRUD Operations.md
Case Study: Library Management System 7. Hands-on Practice Guide.md
Memory Shortcuts & Mnemonics 8. Memory Shortcuts and Cheatsheet.md
DDL Practice Scenarios & Interview Q&A 9. DDL Practice and Interview Questions.md
02 Advanced Filtering with WHERE (AND / OR / NOT / XOR) 1. Advanced Filtering with WHERE.md
Range (BETWEEN), List (IN), Bitwise & REGEXP 2. Pattern Matching and Range Operations.md
Dealing with Missing Data (IS NULL / <=> NULL-Safe) 3. Dealing with Missing Data.md
Sorting (ORDER BY) & Pagination (LIMIT OFFSET) 4. Sorting and Restricting Results.md
HR Company Database Practice Scenario 5. Day 02 Hands-on Practice and Exercises.md
Interactive SQL Script day2_practice_script.sql
03 Aggregations & Grouping (COUNT, SUM, AVG, MIN, MAX, WITH ROLLUP) 1. Introduction to Aggregations.md
Grouping Data with GROUP BY & WITH ROLLUP 2. Grouping Data with GROUP BY.md
Filtering Groups with HAVING 3. Filtering Groups with HAVING.md
Built-in Math, String, System & Date Functions 4. Built-in Math and String Functions.md
Practice Exercises (Q1 - Q20) 5. Day 03 Practice Scenario and Exercises.md
Interactive SQL Script day3_practice_script.sql

Phase 2: Relational Schema & Intermediate Querying

Day Topic Status
04 Table Joins (Inner, Left, Right, Full, Self, Cross, Equi, Non-Equi, Implicit WHERE & Performance) Completed ✅
05 Subqueries, Correlated Subqueries, Set Operators & CTEs (WITH clauses) Completed ✅

Phase 3: Schema Design & Database Control

Day Topic Status
06 Database Normalization & Keys (1NF, 2NF, 3NF, BCNF 3.5NF, Primary/Candidate/Super/Alternate Keys) Completed ✅
07 Altering Tables & Constraints (ALTER TABLE, Generated Columns, SET DEFAULT) Completed ✅
08 Transactions & Concurrency (ACID properties, Redo/Undo logs, COMMIT, ROLLBACK, Isolation Levels) Completed ✅

Phase 4: Stored Programs & Programmability

Day Topic Status
09 Indexes & Views (Search speeds, B-Tree indexes, Updatable Views WITH CHECK OPTION) Completed ✅
10 Stored Procedures & Functions (Variables, Delimiters, IN/OUT/INOUT parameters, UDFs, IF-ELSE, WHILE) Completed ✅
11 Triggers & Events (BEFORE/AFTER automation, OLD/NEW pseudo-records, SIGNAL SQLSTATE, Scheduled jobs) Completed ✅

Phase 5: Administration & Tuning

Day Topic Status
12 User Management & Security (GRANT/REVOKE privileges, Hostnames, mysql.user) Completed ✅
13 Query Performance & Tuning (Reading EXPLAIN query plans, Join Type hierarchy, Slow Query Log, Profiling) Completed ✅
14 Capstone Project (Building ShopSphere E-Commerce System from scratch) Completed ✅

🤝 Contributing

Contributions, issues, and feature requests are welcome! If you find a typo or want to improve a code example:

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is open-source and available under the MIT License. Feel free to use this material for personal study or educational purposes.

About

Comprehensive MySQL study notes covering installation, database creation, constraints, CRUD operations, and advanced SQL queries.

Topics

database-managementmysqlmysql-tutorialsql-notessql-notes-and-practicestudy-notes

Resources

Readme
Activity

Stars

3 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.