{"id":23384731,"url":"https://github.com/maxinexiong/my-leetcode-sql-exercises","last_synced_at":"2026-04-25T21:31:12.212Z","repository":{"id":188299403,"uuid":"678485135","full_name":"MaxineXiong/My-LeetCode-SQL-Exercises","owner":"MaxineXiong","description":"My solutions to LeetCode SQL questions.","archived":false,"fork":false,"pushed_at":"2023-08-16T04:49:24.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-31T11:32:09.326Z","etag":null,"topics":["database","leetcode","leetcode-solutions","mysql","sql","sqlquery"],"latest_commit_sha":null,"homepage":"https://leetcode.com/problemset/database/","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/MaxineXiong.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":"2023-08-14T16:54:17.000Z","updated_at":"2024-12-15T09:57:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"e70d87a5-0cb8-46ab-a985-561de81ad7d7","html_url":"https://github.com/MaxineXiong/My-LeetCode-SQL-Exercises","commit_stats":null,"previous_names":["maxinexiong/leetcode-sql-exercise","maxinexiong/my-leetcode-sql-exercises"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MaxineXiong/My-LeetCode-SQL-Exercises","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxineXiong%2FMy-LeetCode-SQL-Exercises","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxineXiong%2FMy-LeetCode-SQL-Exercises/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxineXiong%2FMy-LeetCode-SQL-Exercises/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxineXiong%2FMy-LeetCode-SQL-Exercises/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaxineXiong","download_url":"https://codeload.github.com/MaxineXiong/My-LeetCode-SQL-Exercises/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxineXiong%2FMy-LeetCode-SQL-Exercises/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32278249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","leetcode","leetcode-solutions","mysql","sql","sqlquery"],"created_at":"2024-12-21T23:29:25.538Z","updated_at":"2026-04-25T21:31:12.197Z","avatar_url":"https://github.com/MaxineXiong.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# My LeetCode SQL Exercises\n\n\n[![GitHub](https://badgen.net/badge/icon/GitHub?icon=github\u0026color=black\u0026label)](https://github.com/MaxineXiong)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![MySQL](https://img.shields.io/badge/MySQL-4479A1?logo=MySQL\u0026logoColor=white)](https://www.mysql.com/)\n[![LeetCode](https://img.shields.io/badge/LeetCode-black?logo=LeetCode\u0026logoColor=FFA116)](https://leetcode.com/problemset/all/)\n\n\u003cbr/\u003e\n\nThis repository features my solutions to the following [LeetCode Database Problems](https://leetcode.com/problemset/database/) that I consider challenging:\n- [603](https://leetcode.com/problems/consecutive-available-seats/)\n- [1098](https://leetcode.com/problems/unpopular-books/)\n- [1164](https://leetcode.com/problems/product-price-at-a-given-date/)\n- [1270](https://leetcode.com/problems/all-people-report-to-the-given-manager/)\n- [1321](https://leetcode.com/problems/restaurant-growth/)\n- [1384](https://leetcode.com/problems/total-sales-amount-by-year/)\n- [1393](https://leetcode.com/problems/capital-gainloss/)\n- [1484](https://leetcode.com/problems/group-sold-products-by-the-date/)\n- [1517](https://leetcode.com/problems/find-users-with-valid-e-mails/)\n\nEach solution is organized in separate folders, named according to the LeetCode problem number. They are aimed at showcasing my expertise in SQL querying, database manipulation, and problem-solving skills.\n\n## Usage\n\nThis repository is intended to be used as a reference for SQL learners or as a comparison for those who want to validate their own solutions. Feel free to explore the files and examine the queries to deepen your understanding of SQL concepts.\n\nIf you're using these solutions as a learning resource, it's recommended to attempt the exercises on **LeetCode** first before referring to the solutions. Understanding the problem-solving process and developing your own solutions is crucial for gaining proficiency in SQL.\n\n## License\n\nThis project is licensed under the [MIT License](https://choosealicense.com/licenses/mit/). Feel free to use, modify, and distribute the code in this repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxinexiong%2Fmy-leetcode-sql-exercises","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxinexiong%2Fmy-leetcode-sql-exercises","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxinexiong%2Fmy-leetcode-sql-exercises/lists"}