Sign up ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I'm looking for beginner and intermediate level SQL puzzles, that I can point trainees at for practice.

I'm aware of which is a great resource - is there anything else out there that you could suggest?

share|improve this question

7 Answers 7

up vote 45 down vote accepted

Joe Celko's books and newsgroup posts are a good source of puzzles (with a variety of answers). They might be a bit more intermediate/advanced and not MySQL-specific, but are easy to follow and generally come from practical real-world situations.

Particularly, hunt down a copy of Joe Celko's SQL Puzzles and Answers (link to Google preview), it's a compilation of some of the best.

The SQLTeam forums occasionally have some interesting problems too, but generally focused on MS SQL Server.

share|improve this answer
+1 for very cool answer. – Soner Gönül Dec 18 '12 at 22:55

There are lots of interesting puzzles and contests in BeyondRelational.Com

TSQL Challenges
TSQL Beginners Challenge

share|improve this answer
Are solutions posted anywhere for the beginners challenges? – Gabe Feb 21 '11 at 0:38

SQL Server Central has some quizzes here:

There's also SQL Quiz, which is more like quiz questions rather than puzzles:

And Lessthandot has some general programmer puzzles:

share|improve this answer

One that I've used before is:

Has an interactive book with exercises (and tips) and solutions

See also:

share|improve this answer

You can sign up for SQLServerCentral's Newsletter and receive a Question of the Day (among other news and articles) in your mailbox daily.

One thing to note is that in addition to SQL, the questions also focus on database administration. They are pretty challenging though.

share|improve this answer

Practical skills of SQL language has a good collection of exercises for beginners as well as for experienced programmers.

share|improve this answer

protected by Jack Douglas May 23 at 11:37

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.