MYSQL+JOIN+COUNT = wrong output

Printable View