{"id":23777566,"url":"https://github.com/amitverma80/leetcode-sql","last_synced_at":"2026-02-25T06:33:08.499Z","repository":{"id":64190056,"uuid":"299016569","full_name":"amitverma80/LeetCode-SQL","owner":"amitverma80","description":"This repository contains solutions for LeetCode SQL problems.","archived":false,"fork":false,"pushed_at":"2022-12-04T02:58:09.000Z","size":29,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T14:55:58.123Z","etag":null,"topics":["leetcode","leetcode-solutions","leetcode-sql","sql","sql-query","sql-server","sqlserver"],"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/amitverma80.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}},"created_at":"2020-09-27T11:25:20.000Z","updated_at":"2023-11-27T08:47:31.000Z","dependencies_parsed_at":"2023-01-15T03:46:07.211Z","dependency_job_id":null,"html_url":"https://github.com/amitverma80/LeetCode-SQL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitverma80%2FLeetCode-SQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitverma80%2FLeetCode-SQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitverma80%2FLeetCode-SQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitverma80%2FLeetCode-SQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amitverma80","download_url":"https://codeload.github.com/amitverma80/LeetCode-SQL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631668,"owners_count":21136554,"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":["leetcode","leetcode-solutions","leetcode-sql","sql","sql-query","sql-server","sqlserver"],"created_at":"2025-01-01T08:45:52.175Z","updated_at":"2025-10-28T05:43:10.468Z","avatar_url":"https://github.com/amitverma80.png","language":null,"readme":"# LeetCode-SQL\n\u003chtml\u003e\n \u003chead\u003e\n   \u003cmeta name=\"google-site-verification\" content=\"51-SvI8HZUI-LZeTLCLZ2elSKK68KLwNvjjvbIdbtf4\" /\u003e\n \u003c/head\u003e\n \u003cbody\u003e\n \nSolution to Database problems on \u003ca href=\"https://leetcode.com/problemset/database/\"\u003eLeetCode \u003c/a\u003e\n\n\u003ctable width=\"100%\"\u003e \n  \u003ctr\u003e\n    \u003cth\u003eDifficulty Level\u003c/th\u003e\n    \u003cth\u003eProblem\u003c/th\u003e    \n    \u003cth\u003eSolution\u003c/th\u003e\n  \u003c/tr\u003e  \n  \u003ctr\u003e\n    \u003ctd\u003eHard\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://leetcode.com/problems/human-traffic-of-stadium/\"\u003eHuman Traffic Stadium\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://github.com/amitverma80/LeetCode-SQL/blob/master/Human%20Traffic%20of%20Stadium.sql\"\u003eSolution\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n \u003ctr\u003e\n    \u003ctd\u003eHard\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://leetcode.com/problems/trips-and-users/\"\u003eTrips and Users\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://github.com/amitverma80/LeetCode-SQL/blob/master/Trips%20and%20Users.sql\"\u003eSolution\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n \u003ctr\u003e\n    \u003ctd\u003eHard\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://leetcode.com/problems/department-top-three-salaries/\"\u003eDepartment Top Three Salaries\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://github.com/amitverma80/LeetCode-SQL/blob/master/Department%20Top%20Three%20Salaries.sql\"\u003eSolution\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n \u003ctr\u003e\n    \u003ctd\u003eMedium\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://leetcode.com/problems/nth-highest-salary//\"\u003eNth Highest Salary\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://github.com/amitverma80/LeetCode-SQL/blob/master/Nth%20Highest%20Salary.sql\"\u003eSolution\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n \u003ctr\u003e\n    \u003ctd\u003eMedium\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://leetcode.com/problems/department-highest-salary/\"\u003eDepartment Highest Salary\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://github.com/amitverma80/LeetCode-SQL/blob/master/Department%20Highest%20Salary.sql\"\u003eSolution\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eMedium\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://leetcode.com/problems/consecutive-numbers/\"\u003eConsecutive Numbers\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://github.com/amitverma80/LeetCode-SQL/blob/master/Consecutive%20Numbers.sql\"\u003eSolution\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eMedium\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://leetcode.com/problems/rank-scores/\"\u003eRank Scores\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://github.com/amitverma80/LeetCode-SQL/blob/master/Rank%20Scores.sql\"\u003eSolution\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eMedium\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://leetcode.com/problems/exchange-seats/\"\u003eExchange Seats\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://github.com/amitverma80/LeetCode-SQL/blob/master/Exchange%20Seats.sql\"\u003eSolution\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eMedium\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://leetcode.com/problems/capital-gainloss/\"\u003e Capital Gain/Loss\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://github.com/amitverma80/LeetCode-SQL/blob/master/Capital%20GainLoss.sql\"\u003eSolution\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n    \u003ctr\u003e\n    \u003ctd\u003eMedium\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://leetcode.com/problems/market-analysis-i/\"\u003e Market Analysis\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://github.com/amitverma80/LeetCode-SQL/blob/master/Capital%20GainLoss.sql)\"\u003eSolution\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eEasy\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://leetcode.com/problems/delete-duplicate-emails/\"\u003eDelete Duplicate Emails\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://github.com/amitverma80/LeetCode-SQL/blob/master/Delete%20Duplicate%20Emails\"\u003eSolution\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e  \n\u003cbody\u003e \n\u003chtml\u003e \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitverma80%2Fleetcode-sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famitverma80%2Fleetcode-sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitverma80%2Fleetcode-sql/lists"}