Can SQL do this?

Printable View