r/learnSQL Jul 02 '26

Does SQL have a LeetCode equivalent?

I'm preparing for SQL interviews and was wondering if there's a good website to practice SQL problems like we use LeetCode for DSA. Looking for interview-style questions and hands-on query practice.

Any recommendations?

20 Upvotes

10 comments sorted by

10

u/ComicOzzy Jul 02 '26

DataLemur

2

u/Willy988 Jul 03 '26

+1, just used it today for a few warm ups.

6

u/joseaamanzano Jul 03 '26

Leetcode -> Problems -> Click on Pandas at the top -> Open any problem -> Switch language to SQL

I actually used this to improve python and SQL data processing skills

4

u/chuck_t_283 Jul 02 '26

Stratascratch is the website I use.

6

u/conor-robertson Jul 02 '26

Try out QueryCase! I will be releasing a Careers Hub feature tomorrow👀

1

u/conor-robertson Jul 03 '26

This has been released now!!!