Skip to content

Thogaruchesti-hemanth/sql-notes-and-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

154 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  SQL Notes & Practice โ€“ 30 Days of SQL Mastery ๐Ÿš€

Welcome to sql-notes-and-practice โ€” a complete, beginner-to-advanced SQL learning roadmap broken down into 35 days of structured, practical, and real-world practice. Whether you're preparing for SQL interviews, upskilling for data-related roles, or just want to master SQL, this repo is your perfect daily companion. ๐ŸŽฏ

๐Ÿ”ฅ Learn. Practice. Master. One day at a time.

GitHub stars GitHub forks GitHub last commit License


๐Ÿ“Œ Why This Repository?

  • โœ… Beginner-friendly roadmap for learning SQL
  • โœ… Daily structured modules with summaries, sample data & practice queries
  • โœ… MySQL Workbench ready
  • โœ… Real-world projects for hands-on experience
  • โœ… Ideal for interview prep, practice, and revision

๐Ÿ—บ๏ธ Learning Roadmap

๐Ÿ“˜ Phase 1: Basics (Day 1โ€“7)

Day Topics
Day 1 CREATE TABLE, INSERT, SELECT
Day 2 WHERE, AND, OR, NOT
Day 3 IN, BETWEEN, LIKE, IS NULL
Day 4 ORDER BY, LIMIT, OFFSET
Day 5 UPDATE, DELETE,DROP,ALTER,TRUNCATE
Day 6 DISTINCT, COUNT, MIN, MAX, AVG, SUM
Day 7 Review + Practice Set

๐Ÿ“— Phase 2: Intermediate (Day 8โ€“15)

Day Topics
Day 8 GROUP BY, HAVING
Day 9 INNER JOIN
Day 10 LEFT JOIN, RIGHT JOIN
Day 11 FULL OUTER JOIN
Day 12 Self Join
Day 13 UNION, INTERSECT, EXCEPT
Day 14 Review + Real-World Query Practice

๐Ÿ“™ Phase 3: Advanced (Day 16โ€“22)

Day Topics
Day 15 Subqueries
Day 16 Correlated Subqueries
Day 17 CASE, IF, COALESCE
Day 18 Views
Day 19 Indexes (Intro)
Day 20 Stored Procedures
Day 21 Transactions & ACID
Day 22 Review + Practice Set

๐Ÿ“• Phase 4: Real-World Practice (Day 23โ€“27)

Day Projects
Day 23 Student Database
Day 24 Library Management
Day 25 E-Commerce Database
Day 26 HR & Payroll System
Day 27 Hotel Booking System

๐Ÿ“’ Phase 5: Final Capstone & Polish (Day 28โ€“30)

Day Topics
Day 28 Final Capstone Project
Day 29 Query Optimization + Indexing
Day 30 Polish & Upload Repo

๐ŸŽ Bonus Days (Optional)

Day Topics
Day 31 PostgreSQL-specific Features
Day 32 MySQL-specific Features
Day 33 Window Functions
Day 34 SQL Interview Questions
Day 35 SQL for Data Analytics

๐Ÿ“‚ Folder Structure


sql-notes-and-practice/
โ”œโ”€โ”€ day1/
โ”‚   โ”œโ”€โ”€ README.md        # Concepts summary
โ”‚   โ”œโ”€โ”€ data.sql         # Table schema + practice questions
โ”‚   โ””โ”€โ”€ queries.sql      # Solutions with comments
โ”œโ”€โ”€ day2/
โ”‚   โ””โ”€โ”€ ...
โ”œโ”€โ”€ CONTRIBUTING.md
โ””โ”€โ”€ LICENSE

Each day includes:

  • ๐Ÿ“– README.md: Summary of concepts
  • ๐Ÿงฑ data.sql: Table definitions + sample data
  • ๐Ÿง  queries.sql: Practice SQL queries with inline comments

๐Ÿ› ๏ธ Tech Stack

  • Database: MySQL
  • Environment: MySQL Workbench
  • Language: SQL
  • Platform: GitHub

โœจ Highlights

  • ๐Ÿ“š 30-Day Learning Roadmap (From Basics to Advanced)
  • ๐Ÿงช Real-life Practice Projects (HR, E-commerce, Library, etc.)
  • ๐Ÿ“ˆ Ideal for Interviews and SQL Skill-Building
  • ๐ŸŽ“ Learn-by-doing approach with examples and explanations
  • ๐Ÿ’ก Bonus Modules & Daily Practice

๐Ÿš€ How to Use This Repository

  1. Clone the repo
git clone https://github.com/Thogaruchesti-hemanth/sql-notes-and-practice.git
  1. Open MySQL Workbench
  2. Choose a folder (e.g., day5) and run data.sql followed by queries.sql
  3. Read the README.md for each day's explanation and concepts
  4. Modify, experiment, and take notes!

๐Ÿค Contributing

Contributions are welcome! Please read the CONTRIBUTING.md file for guidelines before submitting a PR.


๐ŸŒŸ Show Your Support

If this project helped you:

  • โญ Star the repo
  • ๐Ÿด Fork and customize it
  • ๐Ÿ”— Share with friends and communities
  • ๐Ÿงต Mention on social platforms using #30DaysOfSQL

Letโ€™s grow and learn together! ๐Ÿ™Œ


๐Ÿ‘จโ€๐Ÿ’ป About Me

Hi, Iโ€™m Sai Hemanth Thogaruchesti, a passionate Android & Flutter developer, tech enthusiast, and open-source contributor from ๐Ÿ‡ฎ๐Ÿ‡ณ India.

Letโ€™s connect, collaborate, and build together! ๐Ÿš€


๐Ÿ“„ License

This project is licensed under the MIT License.


๐Ÿ“ˆ Learn SQL. Build Projects. Grow Your Profile. ๐Ÿ† Helping Developers & Data Enthusiasts Shine on GitHub.