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!
Here is a quick tour of the folders and files:
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.
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!)
- 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!
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! ??*