{"id":20447993,"url":"https://github.com/yi-ge/sql-practice","last_synced_at":"2026-04-24T05:31:32.234Z","repository":{"id":97724296,"uuid":"534619793","full_name":"yi-ge/sql-practice","owner":"yi-ge","description":"LeetCode SQL Practice.","archived":false,"fork":false,"pushed_at":"2023-05-23T04:48:01.000Z","size":85,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T09:57:54.918Z","etag":null,"topics":["leetcode","mysql","sql"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yi-ge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-09-09T11:43:58.000Z","updated_at":"2023-03-10T21:46:22.000Z","dependencies_parsed_at":"2023-07-22T21:18:25.371Z","dependency_job_id":null,"html_url":"https://github.com/yi-ge/sql-practice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yi-ge/sql-practice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yi-ge%2Fsql-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yi-ge%2Fsql-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yi-ge%2Fsql-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yi-ge%2Fsql-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yi-ge","download_url":"https://codeload.github.com/yi-ge/sql-practice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yi-ge%2Fsql-practice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32210820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["leetcode","mysql","sql"],"created_at":"2024-11-15T10:31:32.928Z","updated_at":"2026-04-24T05:31:32.218Z","avatar_url":"https://github.com/yi-ge.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL 练习\n\nLeetCode SQL 练习记录。\n\n## 题目\n\n- [1747. 应该被禁止的 Leetflex 账户](src/leetflex-banned-accounts.sql) \u003chttps://leetcode.cn/problems/leetflex-banned-accounts/\u003e\n- [181. 超过经理收入的员工](src/employees-earning-more-than-their-managers.sql) \u003chttps://leetcode.cn/problems/employees-earning-more-than-their-managers/\u003e\n- [180. 连续出现的数字](src/consecutive-numbers.sql) \u003chttps://leetcode.cn/problems/consecutive-numbers/\u003e\n- [1988. 找出每所学校的最低分数要求](src/find-cutoff-score-for-each-school.sql) \u003chttps://leetcode.cn/problems/find-cutoff-score-for-each-school/\u003e\n- [1549. 每件商品的最新订单](src/the-most-recent-orders-for-each-product.sql) \u003chttps://leetcode.cn/problems/the-most-recent-orders-for-each-product/\u003e\n- [1321. 餐馆营业额变化增长](src/restaurant-growth.sql) \u003chttps://leetcode.cn/problems/restaurant-growth/\u003e\n- [1045. 买下所有产品的客户](src/customers-who-bought-all-products.sql) \u003chttps://leetcode.cn/problems/customers-who-bought-all-products/\u003e\n- [1341. 电影评分](src/movie-rating.sql) \u003chttps://leetcode.cn/problems/movie-rating/\u003e\n- [1867. 最大数量高于平均水平的订单](src/orders-with-maximum-quantity-above-average.sql) \u003chttps://leetcode.cn/problems/orders-with-maximum-quantity-above-average/\u003e\n- [550. 游戏玩法分析 IV](src/game-play-analysis-iv.sql) \u003chttps://leetcode.cn/problems/game-play-analysis-iv/\u003e\n- [262. 行程和用户](src/trips-and-users.sql) \u003chttps://leetcode.cn/problems/trips-and-users/\u003e\n- [1303. 求团队人数](src/find-the-team-size.sql) \u003chttps://leetcode.cn/problems/find-the-team-size/\u003e\n- [1308. 不同性别每日分数总计](src/running-total-for-different-genders.sql) \u003chttps://leetcode.cn/problems/running-total-for-different-genders/\u003e\n- [1501. 可以放心投资的国家](src/countries-you-can-safely-invest-in.sql) \u003chttps://leetcode.cn/problems/countries-you-can-safely-invest-in/\u003e\n- [1077. 项目员工 III](src/project-employees-iii.sql) \u003chttps://leetcode.cn/problems/project-employees-iii/\u003e\n- [1285. 找到连续区间的开始和结束数字](src/find-the-start-and-end-number-of-continuous-ranges.sql) \u003chttps://leetcode.cn/problems/find-the-start-and-end-number-of-continuous-ranges/\u003e\n- [1596. 每位顾客最经常订购的商品](src/the-most-frequently-ordered-products-for-each-customer.sql) \u003chttps://leetcode.cn/problems/the-most-frequently-ordered-products-for-each-customer/\u003e\n- [178. 分数排名](src/rank-scores.sql) \u003chttps://leetcode.cn/problems/rank-scores/\u003e\n- [177. 第N高的薪水](src/nth-highest-salary.sql) \u003chttps://leetcode.cn/problems/nth-highest-salary/\u003e\n- [1951. 查询具有最多共同关注者的所有两两结对组](src/all-the-pairs-with-the-maximum-number-of-common-followers.sql) \u003chttps://leetcode.cn/problems/all-the-pairs-with-the-maximum-number-of-common-followers/\u003e\n- [1709. 访问日期之间最大的空档期](src/biggest-window-between-visits.sql) \u003chttps://leetcode.cn/problems/biggest-window-between-visits/\u003e\n- [1949. 坚定的友谊](src/strong-friendship.sql) \u003chttps://leetcode.cn/problems/strong-friendship/\u003e\n- [1532. 最近的三笔订单](src/the-most-recent-three-orders.sql) \u003chttps://leetcode.cn/problems/the-most-recent-three-orders/\u003e\n- [1126. 查询活跃业务](src/active-businesses.sql) \u003chttps://leetcode.cn/problems/active-businesses/\u003e\n- [1831. 每天的最大交易](src/maximum-transaction-each-day.sql) \u003chttps://leetcode.cn/problems/maximum-transaction-each-day/\u003e\n- [1613. 找到遗失的ID](src/find-the-missing-ids.sql) \u003chttps://leetcode.cn/problems/find-the-missing-ids/\u003e\n- [1270. 向公司CEO汇报工作的所有人](src/all-people-report-to-the-given-manager.sql) \u003chttps://leetcode.cn/problems/all-people-report-to-the-given-manager/\u003e\n- [1369. 获取最近第二次的活动](src/get-the-second-most-recent-activity.sql) \u003chttps://leetcode.cn/problems/get-the-second-most-recent-activity/\u003e\n- [1454. 活跃用户](src/active-users.sql) \u003chttps://leetcode.cn/problems/active-users/\u003e\n- [1412. 查找成绩处于中游的学生](src/find-the-quiet-students-in-all-exams.sql) \u003chttps://leetcode.cn/problems/find-the-quiet-students-in-all-exams/\u003e\n- [1972. 同一天的第一个电话和最后一个电话](src/first-and-last-call-on-the-same-day.sql) \u003chttps://leetcode.cn/problems/first-and-last-call-on-the-same-day/\u003e\n- [185. 部门工资前三高的所有员工](src/department-top-three-salaries.sql) \u003chttps://leetcode.cn/problems/department-top-three-salaries/\u003e\n- [1767. 寻找没有被执行的任务对](src/find-the-subtasks-that-did-not-execute.sql) \u003chttps://leetcode.cn/problems/find-the-subtasks-that-did-not-execute\u003e\n- [1384. 按年度列出销售总额](src/total-sales-amount-by-year.sql) \u003chttps://leetcode.cn/problems/total-sales-amount-by-year/\u003e\n- [569. 员工薪水中位数](src/median-employee-salary.sql) \u003chttps://leetcode.cn/problems/median-employee-salary/\u003e\n- [571. 给定数字的频率查询中位数](src/find-median-given-frequency-of-numbers.sql) \u003chttps://leetcode.cn/problems/find-median-given-frequency-of-numbers/\u003e\n- [1225. 报告系统状态的连续日期](src/report-contiguous-dates.sql) \u003chttps://leetcode.cn/problems/report-contiguous-dates/\u003e\n- [618. 学生地理信息报告](src/students-report-by-geography.sql) \u003chttps://leetcode.cn/problems/students-report-by-geography/\u003e\n- [2010. 职员招聘人数 II](src/the-number-of-seniors-and-juniors-to-join-the-company-ii.sql) \u003chttps://leetcode.cn/problems/the-number-of-seniors-and-juniors-to-join-the-company-ii/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyi-ge%2Fsql-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyi-ge%2Fsql-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyi-ge%2Fsql-practice/lists"}