Skip to content

sand-it-100/MySQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📘 MySQL Learning Journey – 59 Days

🚀 Overview

  • Documenting a 59-day journey of learning MySQL
  • Covers fundamentals → advanced queries → optimization → projects
  • Goal: build strong SQL/database skills for real-world applications

📅 Timeline -DAY1 MySQL Create Table [20 exercises with solution] CONSTRAINTS NOT NULL , CHECK constraint ,ENUM / Values restriction - Question 7 (only Italy, India, China), DEFAULT values ,UNIQUE constraint ,PRIMARY KEY

DATA TYPES INT, VARCHAR, DECIMAL, DATE, etc.

TABLE COPY OPERATIONS CREATE TABLE LIKE, CREATE TABLE AS SELECT

FOREIGN KEYS (Referential Integrity) FOREIGN KEY constraint

Different referential actions: ON DELETE CASCADE ON UPDATE CASCADE ON DELETE SET NULL ON DELETE RESTRICT/NO ACTION ON UPDATE RESTRICT

AUTO INCREMENT AUTO_INCREMENT

ENGINE SPECIFICATION ENGINE=InnoDB

  1. COMPOSITE KEYS Multiple columns as primary/unique key
  • Day 11–20: Intermediate Queries
  • Joins (INNER, LEFT, RIGHT, FULL)
  • Aggregate functions (COUNT, SUM, AVG, MIN, MAX)
  • GROUP BY and HAVING
  • Day 21–30: Advanced SQL
  • Subqueries, nested queries
  • Views and indexing
  • Constraints, normalization
  • Day 31–40: Practical Applications
  • Import/export CSV data
  • Schema design for projects
  • Handling NULLs, defaults
    • Day 41–50: Optimization & Administration
  • Query optimization
  • Transactions, ACID properties
  • User management, permissions
  • Day 51–59: Projects & Wrap-Up
  • Mini-projects (Library DB, E-commerce DB)
  • Final review of concepts
  • Documenting best practices

🛠️ Tools & Setup

  • MySQL Community Server
  • MySQL Workbench / CLI
  • SQL + Python integration
  • OS: Windows/Linux

Documenting best practices

📂 Repository Structure

  • notes/ → Daily notes & explanations
  • exercises/ → Practice queries & solutions
  • projects/ → Mini-projects built during learning
  • resources.md → Helpful links, docs, tutorials
  • README.md → Overview of the journey

🛠️ Tools & Setup

  • MySQL Community Server
  • MySQL Workbench / CLI
  • SQL + Python integration
  • OS: Windows/Linux

📖 Resources

  • MySQL Documentation
  • SQLBolt – Interactive lessons
  • LeetCode Database Problems – Practice queries

✅ Goals

  • Write efficient SQL queries
  • Understand database design principles
  • Apply MySQL in real-world projects
  • Build portfolio projects

About

here it is

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published