A problem in SQL (a real challenge)

Original text of this message