Query Question how to get desired result.

Printable View