Complicated sql query.... need help badly

Printable View