Complicated MYSQL select issue, please help

Printable View