Joe Celko is probably the best known author for that sort of stuff.
eg.
SQL for Smarties
SQL Puzzles
These books are pretty much along the lines asked for.
eg.
SQL for Smarties
SQL Puzzles
These books are pretty much along the lines asked for.
Comment