A comprehensive interactive learning platform for mastering MySQL from beginner to advanced levels, built with Streamlit.
- ๐ฎ Interactive Learning - Real-time Query Editor with syntax highlighting support
- ๐ 8 Complete Modules - From Basic Queries to Advanced Transaction Management
- ๐ฏ User-Friendly Interface - Intuitive navigation with organized sidebar
- ๐ป Hands-On Practice - Real-world examples with sample databases
- ๐ Visual Learning - Charts, graphs, and interactive demonstrations
- ๐ Transaction Simulator - Interactive TCL operations with savepoints
- ๐งช Practice Labs - Step-by-step exercises with solutions
- ๐ฑ Responsive Design - Optimized for desktop and mobile devices
- Python 3.8 or higher
- pip (Python package manager)
-
Clone or download project
git clone <repository-url> cd "MySQL Handbook"
-
Install dependencies
pip install -r requirements.txt
-
Run the application
streamlit run app.py
-
Open browser
- Application will automatically open at
http://localhost:8501 - Or manually navigate to that URL
- Application will automatically open at
MySQL Handbook/
โโโ app.py # Main application file
โโโ requirements.txt # Python dependencies
โโโ README.md # Documentation
โโโ USER_GUIDE.md # User guide and tutorials
โโโ PROJECT_COMPLETION_SUMMARY.md # Development summary
โโโ test_modules.py # Module testing script
โโโ assets/ # Static assets
โ โโโ style.css # Custom styling
โ โโโ images/ # Logo and graphics
โโโ pages/ # Learning modules
โ โโโ 01_Home.py # Welcome and introduction
โ โโโ 02_BasicQuery.py # SELECT, WHERE, ORDER BY fundamentals
โ โโโ 03_DDL.py # Data Definition Language
โ โโโ 04_DML.py # Data Manipulation Language
โ โโโ 05_DCL.py # Data Control Language
โ โโโ 06_TCL.py # Transaction Control Language (Enhanced)
โ โโโ 07_AggregateQuery.py # Aggregate functions and analytics
โ โโโ SQLQueryEditor.py # Interactive SQL editor (Enhanced)
โโโ config/ # Configuration files
โโโ log/ # Application logs
- ๐ Home - Platform overview and learning path guidance
- ๐ Basic Queries - SELECT, WHERE, ORDER BY, LIMIT operations
- ๐ DDL Commands - CREATE, ALTER, DROP table operations
- โ๏ธ DML Operations - INSERT, UPDATE, DELETE data manipulation
- ๐ Aggregate Functions - COUNT, SUM, AVG, GROUP BY, HAVING
- ๐ DCL Controls - User permissions and access control
- ๐ TCL Management โญ - Complete transaction control with ACID properties
- ๐ป SQL Query Editor โญ - Interactive practice environment with real data
Home โ Basic Queries โ DDL Commands โ DML Operations โ Query Editor
Target: Master fundamental database operations
Aggregate Functions โ DCL Controls โ TCL Management โ Advanced Practice
Target: Master advanced database operations and security
Focus: Complex transactions, performance optimization, real-world scenarios
Target: Production-ready database expertise
- Target: MySQL Expert level skills
-
Buat file modul di folder
pages/# pages/new_module.py import streamlit as st def show(): st.title("New Module") st.write("Content goes here...")
-
Update app.py untuk import modul baru
from pages import new_module # Tambah ke dictionary pages pages = { # ... existing pages "๐ New Module": new_module, }
Edit file assets/style.css untuk mengubah tampilan:
- Colors dan themes
- Button styling
- Layout adjustments
- Responsive behavior
# Pastikan semua dependencies terinstall
pip install -r requirements.txt
# Check Python version
python --version # Should be 3.8+# Gunakan port berbeda
streamlit run app.py --server.port 8502- Pastikan file
assets/style.cssexists - Check file permissions
- Restart aplikasi
- ๐ Catat poin penting dari setiap modul
- ๐ป Praktik setiap syntax di Query Editor
- ๐ Ulangi materi yang sulit dipahami
- ๐ฏ Fokus satu modul sampai tuntas
Ctrl + Enter: Execute queryCtrl + /: Comment/UncommentCtrl + A: Select allCtrl + Z: Undo
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add some AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: Check README dan komentar dalam code
- Issues: Create GitHub issue untuk bug reports
- Questions: Gunakan Query Editor untuk eksperimen langsung
- Built with โค๏ธ using Streamlit
- MySQL documentation dan community
- Open source Python ecosystem
Happy Learning! ๐
Mulai perjalanan MySQL Anda hari ini dan menjadi database expert!