Help need with designing this complex query

Printable View