Fun with databases

Rafe gets an answer to a tricky MySQL scenario. I’m sharing the linkage here since I ran into a similar problem just a few hours after he posted the answer. Timing is everything.