{"id":26428659,"url":"https://github.com/suman105/leetcode-sql-50","last_synced_at":"2026-01-03T08:39:09.981Z","repository":{"id":277876591,"uuid":"933796514","full_name":"suman105/LeetCode-SQL-50","owner":"suman105","description":"LeetCode SQL 50 Solutions – A curated collection of optimized SQL solutions covering essential concepts like joins, aggregations, window functions, and subqueries.","archived":false,"fork":false,"pushed_at":"2025-03-01T06:30:36.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T07:25:30.843Z","etag":null,"topics":["sql"],"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/suman105.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-16T17:55:54.000Z","updated_at":"2025-03-01T06:30:39.000Z","dependencies_parsed_at":"2025-02-16T18:44:59.472Z","dependency_job_id":null,"html_url":"https://github.com/suman105/LeetCode-SQL-50","commit_stats":null,"previous_names":["suman105/leetcode-sql-50"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suman105%2FLeetCode-SQL-50","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suman105%2FLeetCode-SQL-50/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suman105%2FLeetCode-SQL-50/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suman105%2FLeetCode-SQL-50/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suman105","download_url":"https://codeload.github.com/suman105/LeetCode-SQL-50/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244159981,"owners_count":20408017,"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":["sql"],"created_at":"2025-03-18T04:40:39.799Z","updated_at":"2026-01-03T08:39:09.958Z","avatar_url":"https://github.com/suman105.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# **LeetCode SQL 50 - Solutions 🚀** \n\nWelcome to my LeetCode SQL 50 solution repository! This repository contains well-structured, optimized SQL solutions for all LeetCode SQL 50 problems, along with detailed explanations to enhance your understanding.\n\n## 📌 **About LeetCode 75** \n**LeetCode SQL 50** is a curated list of essential SQL problems designed to improve database querying skills for technical interviews, data analytics, and software development. These problems cover a broad range of SQL concepts, including **Joins**, **Aggregate Functions**, **Subqueries**, and **String Functions**.\n\n## 📂 **Repository Structure**  \nThe solutions are categorized based on SQL topics for easy navigation:\n\n- **Advanced Select and Joins**  \n- **Advanced String Functions / Regex / Clause**  \n- **Basic Aggregate Functions**  \n- **Basic Joins**  \n- **Select**  \n- **Sorting and Grouping**  \n- **Subqueries**\n\n## 📑 LeetCode SQL 50 Problem List\n\nI have solved all LeetCode SQL 50 problems, and they are organized based on their topics. You can find the solutions in their respective folders/files.\n\n## 🔥 **Getting Started**  \n\n### Clone the Repository  \nTo get a local copy, use the following command:  \n\n```sh\ngit clone https://github.com/suman105/LeetCode-SQL-50.git\ncd LeetCode-SQL-50\n```\n\n## ⚙️ **Prerequisites**\nEnsure you have **[MySQL](https://www.mysql.com/downloads/)** or **[PostgreSQL](https://www.postgresql.org/download/)** installed on your system. You can use any database management system that supports SQL.\n\n## 🖥️  **Running the SQL Queries**\nYou can execute the queries in your preferred SQL environment (e.g., MySQL Workbench, PostgreSQL, SQLite, or an online SQL compiler).\n- To run a SQL file using MySQL command line:\n```sh\nmysql -u your_username -p your_database \u003c filename.sql\n```\n- For PostgreSQL:\n```sh\npsql -U your_username -d your_database -f filename.sql\n```\n\n## 🤝 **Contributions**\nContributions are welcome! Feel free to fork this repository, suggest improvements, or add alternative solutions. To contribute:\n1. Fork the repository.\n2. Create a new branch.\n   ```sh\n   git checkout -b feature-branch\n3. Commit your changes.\n   ```sh\n   git commit -am 'Add new SQL solution'\n4. Push to your fork.\n   ```sh\n   git push origin feature-branch\n5. Open a pull request.\n\n## ⭐ **Show Some Support**\nIf you find this repository helpful, consider giving it a star ⭐ on GitHub. Your support motivates me to continue improving and adding more solutions! 🚀\n\nHappy Querying! 🖥️📊\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuman105%2Fleetcode-sql-50","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuman105%2Fleetcode-sql-50","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuman105%2Fleetcode-sql-50/lists"}