Need help with a complex sql select

Printable View