Skip to content

abdulrdeveloper/Learn-SQL

Repository files navigation

SQL & Database Learning Journey

Hey there! Welcome to my database practice repository. I made this repo to document everything I am learning about SQL, Databases, and System Design. If you are a beginner like me, you might find this super helpful!

What's inside?

Here is a quick tour of the folders and files:

1. SQL_Practice_Notes

This folder contains all my practice codes and step-by-step notes on core SQL concepts:

  • Basic to Advanced Queries: Notes on DDL (creating tables) and DML (inserting/updating data).
  • Joins: Inner, Left, Right, and Full Outer joins explained simply.
  • Transactions & ACID: Notes on how databases handle transactions, atomicity, consistency, isolation, and durability.
  • Indexes & Aggregates: How to speed up queries and group data.

2. Real World DBs Collection

I tried to design databases for real-world applications! Here, you'll find schemas for:

  • Instagram Basic DB
  • Instagram Thrift Creator Store
  • School Management System (Note: I've included both .eraser files for Eraser.io and .dbml files for dbdiagram.io so anyone can visualize the diagrams easily!)

3. Extra Guides

  • Beginners_Guide.md: A quick start guide if you are completely new.
  • Chai aur SQL.md: Grab a cup of tea (chai) and read some interactive SQL notes!

How to use this repo?

You can use my code as a reference. If you want to view the ER diagrams, just copy the code from the .dbml files and paste it into dbdiagram.io, or use the .eraser files in Eraser.io.


Happy coding and keep learning! ??

About

Comprehensive resources and practical PLpgSQL examples to learn and practice SQL database fundamentals from scratch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors