https://github.com/codewithcharan/mysql-practice
https://github.com/codewithcharan/mysql-practice
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codewithcharan/mysql-practice
- Owner: CodeWithCharan
- Created: 2024-12-30T16:26:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-30T17:26:01.000Z (over 1 year ago)
- Last Synced: 2025-10-22T16:54:09.929Z (7 months ago)
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **MySQL Practice Repository**
Welcome to **MySQL Practice Repository**, a comprehensive collection of SQL exercises, commands, and case studies that helped me master MySQL.
## **Repository Structure**
```
βββ πMySQL-Practice
βββ πCase-Expressions
βββ case_expressions.txt
βββ README.md
βββ πExercises
βββ codebasics-movies-db.sql
βββ Exercise_1.txt
βββ Exercise_2.txt
βββ Exercise_3.txt
βββ Exercise_4.txt
βββ Exercise_5.txt
βββ Exercise_6.txt
βββ movies-db-1.xlsx
βββ README.md
βββ πJoins
βββ basic_joins.txt
βββ leetcode-joins.txt
βββ README.md
βββ πMySQL Commands
βββ codebasics-movies-db.sql
βββ commands.txt
βββ movies-db-1.xlsx
βββ README.md
βββ πREGEXP
βββ README.md
βββ regexp_commands.txt
```
### **Case-Expressions**
- Focuses on SQL case expressions for conditional queries.
- File: `case_expressions.txt` provides examples and use cases.
- Refer to the `README.md` for additional explanations.
### **Exercises**
- A variety of SQL exercises based on the `codebasics-movies-db` dataset.
- Includes queries for movie databases, financial calculations, and more.
- Files:
- `Exercise_1.txt` through `Exercise_6.txt`: Step-by-step problems with solutions.
- `codebasics-movies-db.sql`: Sample dataset for the exercises.
- `movies-db-1.xlsx`: Additional reference for the movie database schema.
- Refer to the `README.md` for detailed instructions on how to use the exercises.
### **Joins**
- Examples and problems related to SQL JOIN operations.
- Files include `basic_joins.txt` and `leetcode-joins.txt` for advanced practices.
- Refer to the `README.md` for more details.
### **MySQL Commands**
- Collection of frequently used MySQL commands and scripts.
- Files:
- `commands.txt`: Common commands for database manipulation.
- `codebasics-movies-db.sql`: Sample database schema.
- `movies-db-1.xlsx`: Schema and data reference.
- Refer to the `README.md` for further guidance.
### **REGEXP**
- Focuses on regular expressions in MySQL.
- File: `regexp_commands.txt` provides a variety of REGEXP queries.
- Refer to the `README.md` for an overview and examples.
## **How to Use**
1. Clone the repository:
```bash
git clone https://github.com/CodeWithCharan/MySQL-Practice.git
```
2. Navigate to the desired folder based on your topic of interest.
3. Use the `.sql` or `.txt` files to practice queries in your MySQL environment.
4. Refer to the `README.md` in each folder for detailed explanations.
## **Contribution**
Feel free to contribute by submitting pull requests with new exercises or improvements.