A Programming Murder Mystery in Ruby
medium.comVery fun! Also related:
https://news.ycombinator.com/item?id=21799988
... which includes SQL and some other interesting types.
I have fanaticized for years that school could be more like this.
I have even started trying to do something similar to teach Ruby with a Mafia inspired story.
There is also "A curious moon" with similar ideas for learning SQL.