need help to optimize query

Printable View