MySQL Query acting weird

Printable View