how to optimize this SQL statement ?

Printable View