This repository contains my collection of SQL solutions from various coding platforms:
All SQL problems are organized by platform inside the sql/ directory.
sql/
├── leetcode/ # SQL problems from LeetCode
├── gfg/ # (Coming soon) SQL problems from GeeksforGeeks
└── hackerrank/ # (Coming soon) SQL problems from HackerRank
Each folder contains .sql files named after the problem title or number, where possible.
The leetcode/ folder is automatically synced from my LeetCode repository, specifically from its database/ folder, using a GitHub Actions workflow.
Whenever changes are pushed to the database/ folder in that repo, the files are automatically copied here to keep things updated.
You can open and run any .sql file in your preferred SQL environment (e.g., MySQL Workbench, PostgreSQL, or an online compiler like DB Fiddle).
- These solutions use standard SQL or MySQL syntax unless specified.
- Naming conventions may follow problem titles or IDs for clarity.
- More platforms and categorization coming soon.
Feel free to connect with me on:
- GitHub: @omkarshinde1711
- Email: omkarshinde1711@gmail.com
While this is a personal repository, PRs for formatting, test data additions, or corrections are welcome!