How would I do this sub-select?

Original text of this message