QueryCraft is a friendly, interactive SQL learning platform that takes you from
SELECT * FROM confused_beginner to SELECT * FROM industry_ready_developer.
SQL tip: If your query fails, don't panic. Even databases need a little emotional support. π
QueryCraft turns SQL learning into a clear, practical journey instead of a scary wall of syntax. Learn a concept, see a real-world example, practice it in the browser, and build confidence one query at a time.
| Area | What is inside |
|---|---|
| Course | 122 chapters across 10 levels, from database basics to production-grade SQL |
| Playground | A browser-based SQL learning simulator with sample databases |
| Practice | Beginner, Intermediate, Advanced and Industry-level challenges |
| Interview Prep | Conceptual and coding questions with explanations and practical tips |
| Projects | Real-world database scenarios, including food delivery and e-commerce |
| Progress | Your learning progress is saved locally in the browserβno account drama |
Foundation β Beginner β Intermediate β Advanced β Industry β Projects β Final Assessment
You will explore:
- Databases, DBMS, RDBMS and MySQL fundamentals
SELECT, filtering, sorting, CRUD and table design- Aggregations, functions, joins, subqueries and CTEs
- Window functions, transactions, indexes and query optimization
- Security, production database practices and system-design thinking
- Real-world database projects and interview-style problem solving
- HTML5 for structure
- CSS3 for the responsive interface, themes and animations
- Vanilla JavaScript for navigation, lessons, progress and interactions
- Browser-based SQL simulator for safe, setup-free practice
- No frameworks. No build step. No
npm installmarathon. π
QueryCraft is a static website, so running it is refreshingly simple:
git clone https://github.com/shubhamnarware67-cmd/Query-Craft.git
cd Query-CraftThen open index.html in your browser.
For the smoothest experience, use a small local server:
# Option 1: Python
python3 -m http.server 8000
# Option 2: VS Code
# Install Live Server β right-click index.html β Open with Live ServerOpen http://localhost:8000 and start querying.
The project is ready to go live, but GitHub Pages is not enabled on the repository yet. Until then, the fastest live experience is the local server command aboveβyour browser becomes the database classroom, minus the tuition fee. π
To publish it on GitHub Pages:
-
Open Settings β Pages in the repository
-
Select the
newbranch and the/ (root)folder -
Save, then use:
Once Pages is enabled, this becomes the official Launch QueryCraft button target.
Query-Craft/
βββ index.html # Landing page
βββ course.html # Complete SQL curriculum
βββ practice.html # Practice question bank
βββ playground.html # Browser SQL simulator
βββ interview.html # Interview preparation
βββ projects.html # Project-based learning
βββ about.html # About QueryCraft
βββ css/
β βββ variables.css
β βββ style.css
β βββ responsive.css
β βββ animations.css
βββ js/
β βββ data.js
β βββ sample-data.js
β βββ sql-engine.js
β βββ course.js
β βββ practice.js
β βββ interview.js
β βββ projects.js
βββ assets/
βββ querycraft-banner.svg
βββ querycraft-preview.svg
The Playground is an educational, browser-only SQL simulator. It works with sample data and intentionally supports a focused set of SQL concepts for learning. It does not connect to a real MySQL server or modify production dataβwhich is excellent news for both your database and your sleep schedule. π΄
Found a typo, have a better SQL example, or want to add a new practice challenge?
- Fork the repository
- Create a branch:
git checkout -b feature/my-sql-improvement - Make your change
- Commit it:
git commit -m "Add a better SQL example" - Push the branch and open a pull request
Small improvements count. One clearer explanation today can save someone three hours of staring at a missing semicolon tomorrow.
Shubham Narware
QueryCraft is built with plain HTML, CSS and Vanilla JavaScript to stay fast, portable and dependency-free.
- GitHub: @shubhamnarware67-cmd
- Repository: Query-Craft
No license file is currently included in the repository. Add a license before distributing or accepting external contributions.