{"id":25688660,"url":"https://github.com/hilalahmad0101/sql-queries-examples","last_synced_at":"2026-05-06T01:37:26.131Z","repository":{"id":278887683,"uuid":"937063277","full_name":"hilalahmad0101/sql-queries-examples","owner":"hilalahmad0101","description":"A collection of SQL query examples and exercises to practice database queries, including real-world scenarios like customer transactions, product sales, employee records, and more. This repository is useful for learning SQL, improving query skills, and preparing for database-related interviews.","archived":false,"fork":false,"pushed_at":"2025-02-22T10:19:04.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T10:29:19.618Z","etag":null,"topics":["database","databasemanagment","mysql","postgresql","sql","sqlexercises","sqlparactice","sqlqueires"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hilalahmad0101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-22T08:41:04.000Z","updated_at":"2025-02-22T10:19:07.000Z","dependencies_parsed_at":"2025-02-22T10:29:22.454Z","dependency_job_id":"ae10b30d-692f-4661-a1de-806358e7128c","html_url":"https://github.com/hilalahmad0101/sql-queries-examples","commit_stats":null,"previous_names":["hilalahmad0101/sql-quries-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hilalahmad0101%2Fsql-queries-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hilalahmad0101%2Fsql-queries-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hilalahmad0101%2Fsql-queries-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hilalahmad0101%2Fsql-queries-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hilalahmad0101","download_url":"https://codeload.github.com/hilalahmad0101/sql-queries-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240557499,"owners_count":19820359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","databasemanagment","mysql","postgresql","sql","sqlexercises","sqlparactice","sqlqueires"],"created_at":"2025-02-24T21:05:12.973Z","updated_at":"2025-10-16T03:12:46.575Z","avatar_url":"https://github.com/hilalahmad0101.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL Queries \u0026 Exercises 📊  \n\nA collection of SQL query examples and exercises to enhance your database querying skills. This repository contains real-world SQL problems covering customer transactions, product sales, employee records, and more. Perfect for learning SQL, preparing for interviews, or practicing database management.  \n\n## 📌 Table of Contents  \n- [Introduction](#introduction)  \n- [SQL Queries](#sql-queries)  \n- [How to Use](#how-to-use)  \n- [Contributing](#contributing)  \n- [License](#license)  \n- [Tags](#tags)  \n\n## 🚀 Introduction  \nThis repository is a curated collection of SQL queries ranging from beginner to advanced levels. The queries are designed to help you:  \n✅ Improve your SQL skills  \n✅ Understand complex queries and optimizations  \n✅ Prepare for SQL-related interviews  \n✅ Work with different database management systems (MySQL, PostgreSQL, etc.)  \n\n## 📂 SQL Queries  \nHere are some of the SQL exercises included in this repository:  \n\n| File Name                      | Description |\n|--------------------------------|------------------------------------------------|\n| `01_recyclable-and-low-fat-products.sql` | Find recyclable and low-fat products |\n| `02_find_customer.sql`         | Find customers who referred others |\n| `03_big_countries.sql`         | Identify big countries |\n| `04_articles_views.sql`        | Analyze article views |\n| `05_invalid_tweet.sql`         | Detect invalid tweets |\n| `06_employee_id.sql`           | Replace Employee ID with a unique identifier |\n| `07_product_sale.sql`          | Analyze product sales |\n| `08_visited.sql`               | Identify customers who visited but didn't make transactions |\n\nMore queries will be added soon! 🔥  \n\n## 📖 How to Use  \n1. Clone the repository:  \n   ```sh\n   git clone https://github.com/hilalahmad0101/sql-quries-examples.git\n2. Open the SQL files in any SQL editor (MySQL Workbench, PostgreSQL, SQLite, etc.).\n3. Run the queries on a sample database and analyze the results.\n4. Modify and experiment with the queries to deepen your understanding.\n\n## 🤝 Contributing\nContributions are welcome! If you have an interesting SQL query or optimization technique, feel free to open a pull request.\n\nHow to contribute:\n  1. Fork this repository\n  2. Add your SQL query in a new file following the existing format\n  3. Create a pull request\n\n## 📜 License\nThis project is licensed under the MIT License – feel free to use, modify, and share.\n\n## 🏷 Tags  \n\n`SQL` `Database` `SQL Queries` `SQL Practice` `SQL Exercises` `Database Management` `MySQL` `PostgreSQL` `SQL Interview Questions` `Data Analysis` `SQL Examples`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhilalahmad0101%2Fsql-queries-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhilalahmad0101%2Fsql-queries-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhilalahmad0101%2Fsql-queries-examples/lists"}