SQL subquery question

Original text of this message