r/learnSQL • u/hidelyhokie • 6d ago
Website to train a specific pattern at a time dozens of times
So I'm looking for a way to filter all questions by specific patterns while also having question banks large enough that I could do each dozens of times.
does such a website exist?
1
Upvotes
1
u/Creepy_Purchase_501 6d ago
Leetcode?
1
u/Discordbothost 6d ago
Try using one small dataset for several versions of the same problem. For top 3 per group, try exactly three rows, then include ties for third, then add a group with only two rows. Predict the output first so you can check each variation.
1
u/Top_Tooth_6995 6d ago
This is exactly why I made SQLMaxx Learn. In my opinion, the most effective way to learn SQL is to hammer down problems over and over and over again. SQLMaxx Learn essentially requires you to show that you can get the same types of questions correct over and over, until you can progress to the next lesson. This is a free course, and we have 66 lessons and 615 practice problems (and a free certificate). Let me know what you think if you give it a try!
1
u/slrworkbooks 5d ago
No single site has dozens of problems per pattern, but a few already sort theirs by topic, so you can stack them:
For real repetition, rework problems you've already solved. Once you get one right, say top 3 per group with ROW_NUMBER, rewrite it against a different table, then change how ties are handled, then do it without the window function. Five versions of one problem teach the pattern faster than five new problems.
After a few rounds on one pattern, mix them up. Real problems don't come labeled, and spotting which pattern fits is half the skill.
Disclosure, since it's mine: I wrote a SQL Server workbook sorted by topic, about 12 self-checking exercises per chapter, so it's fewer reps per pattern than the sites above. The first three chapters are free, linked from querybench.dev.
1
u/datadriven_io 2d ago
Don't spend more then 20 min ok easy, 30 min on medium and 50/60 min on hard before checking the pattern. Datadriven.io is good for dimensional modeling practice if you learn by doing. Spending more time also wastes your time.