tricky query question

Original text of this message