🌐
LeetCode
leetcode.com › studyplan › premium-sql-50
Advanced SQL 50 - Study Plan - LeetCode
50 Advanced SQL Problems · Advanced SQL 50 · Summary · Basic to advanced SQL topics · 50 high-frequency SQL questions · Best for 1 month of prep time · Award · Advanced SQL 50 · Complete the study plan to win the badge!
🌐
GitHub
github.com › mrinal1704 › SQL-Leetcode-Challenge
GitHub - mrinal1704/SQL-Leetcode-Challenge: Contains all the 117 Leetcode questions with their solutions ranging from Easy to Hard in MySQL.
Contains all the 117 Leetcode questions with their solutions ranging from Easy to Hard in MySQL. - mrinal1704/SQL-Leetcode-Challenge
Starred by 815 users
Forked by 520 users
Languages   TSQL
🌐
GitHub
github.com › leetlab11 › Advanced-SQL-50
GitHub - leetlab11/Advanced-SQL-50: LeetCode Premium Advanced SQL 50 List- Solved 50/50 problems
LeetCode Premium Advanced SQL 50 List- Solved 50/50 problems - leetlab11/Advanced-SQL-50
Starred by 122 users
Forked by 34 users
🌐
GitHub
github.com › ieshreya › sql-50-leetcode
GitHub - ieshreya/sql-50-leetcode: Solutions for SQL 50 Study Plan on LeetCode
Solutions for SQL 50 Study Plan on LeetCode · 1757 - Recyclable and Low Fat Products · SELECT product_id FROM Products WHERE low_fats = 'Y' AND recyclable = 'Y' 584 - Find Customer Referee · SELECT name FROM Customer WHERE referee_id != 2 OR referee_id IS null ·
Starred by 80 users
Forked by 33 users
🌐
YouTube
youtube.com › playlist
Advanced SQL 50 - YouTube
Share your videos with friends, family, and the world
🌐
Scribd
scribd.com › document › 597667511 › LeetCode-SQL-Questions-With-Solutions
LeetCode SQL Questions With Solutions | PDF
LeetCode SQL Questions With Solutions - Free download as PDF File (.pdf) or read online for free.
Rating: 5 ​ - ​ 1 votes
🌐
GitHub
github.com › shawlu95 › Beyond-LeetCode-SQL
GitHub - shawlu95/Beyond-LeetCode-SQL: Analysis of SQL Leetcode and classic interview questions, common pitfalls, anti-patterns and handy tricks. Sample databases.
Analysis of SQL Leetcode and classic interview questions, common pitfalls, anti-patterns and handy tricks. Sample databases. - shawlu95/Beyond-LeetCode-SQL
Starred by 1.2K users
Forked by 474 users
Languages   Jupyter Notebook
🌐
Studocu
studocu.com › marathwada mitra mandal's polytechnic › computer science › leetcode sql questions and solutions for exam preparation
Leetcode SQL Questions and Solutions for Exam Preparation - Studocu
August 16, 2022 - Hhhh leetcode sol problem solving questions with solutions sql solutions 175. combine two tables easy leetcode table: person column name type occ personid int
🌐
GitHub
github.com › TulipAggarwal › LeetCode-SQL50-Solutions
GitHub - TulipAggarwal/LeetCode-SQL50-Solutions: The SQL 50 collection on LeetCode consists of a diverse range of SQL problems designed to assess and enhance your SQL skills. These problems cover a wide array of SQL concepts, including basic queries, subqueries, joins, aggregations, window functions, and more.
The SQL 50 collection on LeetCode consists of a diverse range of SQL problems designed to assess and enhance your SQL skills. These problems cover a wide array of SQL concepts, including basic queries, subqueries, joins, aggregations, window ...
Starred by 51 users
Forked by 21 users
Find elsewhere
🌐
Reddit
reddit.com › r/sql › for those wanting to practice sql on leetcode but don’t have a lc subscription, i created a python program that re-creates all the problems in db-fiddle.com
r/SQL on Reddit: For those wanting to practice SQL on LeetCode but don’t have a LC subscription, I created a Python program that re-creates all the problems in db-fiddle.com
December 24, 2018 -

I’m not sure how many people in this sub use Python, but I wanted to share this program because it allowed me to practice all 125 LeetCode (LC) database/SQL problems in an efficient way.

Background- the two problem I wanted to solve:

  1. Majority of SQL problems on LC are locked

  2. Even with access to the problem, creating the query can be challenging without being able to test and output the intermediate queries that make up the final solution.

My initial solution was manually copying and pasting the tables from LC to db-fiddle.com, but then I thought, there must be a better way- that is how this program was conceived.

What this Python program does:

Using the web automation package Selenium, it opens the LC problem selected by the user, parses the table data, and creates the table schema in db-fiddle so that you can test your queries. Additionally, it saves all the db-fiddles you've been working on in case you want to continue working on them in future sessions.

Sample outputs (for question #1369):

problem statement tab: https://leetcode.jp/problemdetail.php?id=1369

db-fiddle tab: https://www.db-fiddle.com/f/oMDnFch8BXL45r3dUVF17V/0

solutions tab: https://github.com/kamyu104/LeetCode-Solutions/blob/master/MySQL/get-the-second-most-recent-activity.sql

Demo and GitHub link:

Check it out on GitHub: https://github.com/jjjchens235/leetcode-sql-unlocked

🌐
Scribd
scribd.com › document › 576355929 › Leet-Code-SQL-Questions-2
Leet Code SQL Questions 2 | PDF | Table (Database) | Computer Programming
The document lists over 100 database-related questions or problems. Some examples provided include: - Combining data from two tables to show information for all people regardless of address ...
🌐
LeetCode
leetcode.com › discuss › general-discussion › 2064076 › list-of-all-free-45-sql-leetcode-questions-easy-medium-hard
✅ List of All Free 45 SQL Leetcode questions - (Easy, Medium, ...
Clone it !! list : https://leetcode.com/list/e97a9e5m Upcoming post 🔥: All SQL Leetcode questions with their most intuitive solutions. ---- T
🌐
Medium
kawsar34.medium.com › leetcode-sql-50-part-1-8b76ed9ee193
Leetcode SQL 50 Part 1. SQL, or Structured Query Language, is… | by Shahidullah Kawsar | Medium
February 10, 2024 - Leetcode SQL 50 Part 1 SQL, or Structured Query Language, is the cornerstone of database management and data manipulation. Its importance in the tech industry is paramount, particularly in data …
🌐
LeetCode
leetcode.com › discuss › general-discussion › 1208129 › list-of-free-leetcode-sql-questions
List of Free Leetcode SQL Questions - Discuss - LeetCode
List of Free Leetcode SQL Questions · Abhishek Singh Baghel · 260298 · May 14, 2021 · May 14, 2021 · Database · https://leetcode.com/problems/big-countries ·
🌐
Byrony
byrony.github.io › summary-of-sql-questions-on-leetcode.html
Summary of SQL Questions on Leetcode - Pieces of Data Science
January 19, 2017 - I resolved all the database questions on Leetcode.com recently. The questions cover most of the SQL common queries inlcuding JOIN, Ranking and other SQL basics. I provided the answers as well as explanations in this blog, as a way to consolidate the SQL knowledge.
🌐
GitHub
github.com › geekydevin › Leetcode-Advanced-SQL-50
GitHub - geekydevin/Leetcode-Advanced-SQL-50: This repository contains solutions to 50 advanced SQL problems from the LeetCode Premium subscription along with its solutions. These problems focus on complex query writing, optimization, and advanced SQL concepts.
This repository contains solutions to 50 advanced SQL problems from the LeetCode Premium subscription along with its solutions. These problems focus on complex query writing, optimization, and adva...
Starred by 31 users
Forked by 10 users
🌐
LeetCode
leetcode.com › problem-list › m8baczxh
Free SQL questions - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
🌐
LeetCode
leetcode.com › problemset › database
LeetCode - The World's Leading Online Programming Learning Platform
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.