https://github.com/ashifhassandev/sql-workouts
𝐀 𝐫𝐞𝐩𝐨𝐬𝐢𝐭𝐨𝐫𝐲 𝐜𝐨𝐧𝐭𝐚𝐢𝐧𝐢𝐧𝐠 𝐒𝐐𝐋 𝐰𝐨𝐫𝐤𝐨𝐮𝐭 𝐞𝐱𝐞𝐫𝐜𝐢𝐬𝐞𝐬 𝐚𝐧𝐝 𝐚 𝐬𝐭𝐫𝐮𝐜𝐭𝐮𝐫𝐞𝐝 𝐥𝐞𝐚𝐫𝐧𝐢𝐧𝐠 𝐫𝐨𝐚𝐝𝐦𝐚𝐩, 𝐚𝐢𝐦𝐞𝐝 𝐚𝐭 𝐡𝐞𝐥𝐩𝐢𝐧𝐠 𝐮𝐬𝐞𝐫𝐬 𝐞𝐧𝐡𝐚𝐧𝐜𝐞 𝐭𝐡𝐞𝐢𝐫 𝐒𝐐𝐋 𝐬𝐤𝐢𝐥𝐥𝐬.
https://github.com/ashifhassandev/sql-workouts
javascript nodejs postgres postgresql postgresql-database roadmap sql
Last synced: about 1 month ago
JSON representation
𝐀 𝐫𝐞𝐩𝐨𝐬𝐢𝐭𝐨𝐫𝐲 𝐜𝐨𝐧𝐭𝐚𝐢𝐧𝐢𝐧𝐠 𝐒𝐐𝐋 𝐰𝐨𝐫𝐤𝐨𝐮𝐭 𝐞𝐱𝐞𝐫𝐜𝐢𝐬𝐞𝐬 𝐚𝐧𝐝 𝐚 𝐬𝐭𝐫𝐮𝐜𝐭𝐮𝐫𝐞𝐝 𝐥𝐞𝐚𝐫𝐧𝐢𝐧𝐠 𝐫𝐨𝐚𝐝𝐦𝐚𝐩, 𝐚𝐢𝐦𝐞𝐝 𝐚𝐭 𝐡𝐞𝐥𝐩𝐢𝐧𝐠 𝐮𝐬𝐞𝐫𝐬 𝐞𝐧𝐡𝐚𝐧𝐜𝐞 𝐭𝐡𝐞𝐢𝐫 𝐒𝐐𝐋 𝐬𝐤𝐢𝐥𝐥𝐬.
- Host: GitHub
- URL: https://github.com/ashifhassandev/sql-workouts
- Owner: ashifhassandev
- Created: 2025-01-01T16:54:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-05T04:56:38.000Z (about 1 year ago)
- Last Synced: 2025-04-20T23:12:47.713Z (12 months ago)
- Topics: javascript, nodejs, postgres, postgresql, postgresql-database, roadmap, sql
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SQL Workouts
Welcome to the **SQL Workouts** repository! This repository is a comprehensive resource for improving your SQL skills through practical exercises and a structured learning roadmap. Whether you're a beginner or a seasoned developer, these workouts will help you master SQL concepts and database management techniques.
## Table of Contents
- [About the Repository](#about-the-repository)
- [Project Structure](#project-structure)
- [Features](#features)
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Roadmap & Notes](#roadmap--notes)
- [Contributions](#contributions)
- [License](#license)
## About the Repository
This repository contains a variety of SQL exercises, focusing on key topics such as data selection, insertion, updating, relationships, table joins, and aggregation. Each file in the `workouts` folder targets a specific SQL concept, providing a practical, hands-on approach to learning.
## Project Structure
```plaintext
sql-workouts/
├── workouts/
│ ├── aggregate.js
│ ├── connect.js
│ ├── createRelationships.js
│ ├── createTable.js
│ ├── deleteData.js
│ ├── dropTable.js
│ ├── insertData.js
│ ├── joinTables.js
│ ├── searchData.js
│ ├── selectData.js
│ ├── updateData.js
├── .gitignore
├── README.md
├── package-lock.json
└── package.json
```
## Features
- **Comprehensive Exercises**: Covers essential SQL topics, including CRUD operations, relationships, joins, and aggregate functions.
- **Progressive Learning**: Exercises are designed to build skills step-by-step.
- **Real-World Scenarios**: Focuses on concepts frequently used in database management.
- **Learning Resources**: Paired with a structured SQL roadmap and detailed notes.
## Getting Started
1. **Clone the Repository**:
```bash
git clone https://github.com/your-username/sql-workouts.git
cd sql-workouts
```
2. **Set Up SQL Environment**:
Install any SQL database system of your choice (e.g., MySQL, PostgreSQL, SQLite).
3. **Install Node.js**:
[Download Node.js](https://nodejs.org/)
4. **Install Dependencies**:
```bash
npm install
```
5. **Run an Exercise**:
Modify `connect.js` to include your database connection details, then execute an exercise:
```bash
node workouts/createTable.js
```
## Usage
- Each file in the `workouts` folder represents an SQL workout.
- Edit the files as needed to include your database credentials or customize SQL queries.
- Run the files in your local Node.js environment to interact with your database.
## Roadmap & Notes
- 📖 [SQL Roadmap](https://roadmap.sh/sql)
- 📚 [SQL Week 19 Notes](https://bronotes.super.site/week-19-sql)
Use these resources to structure your learning and gain deeper insights into SQL concepts.
## Contributions
Contributions are welcome! Here's how you can contribute:
1. Fork the repository.
2. Create a new branch:
```bash
git checkout -b feature-new-exercise
```
3. Commit your changes:
```bash
git commit -m "Add a new SQL workout exercise"
```
4. Push the branch:
```bash
git push origin feature-new-exercise
```
5. Submit a pull request.
## License
This project is licensed under the [MIT License](LICENSE).
## Acknowledgments
Special thanks to the SQL community and open-source contributors for their resources and support.
Happy Querying! 🚀