I was practicing some SQL when this hit me. I wanted to see how many times a certain commodity came up and from there get the commodity which came up the most.
It looks like you're doing it right. Except ORDER BY orders them in ASC order. make it descending
ORDER BY
ASC
mysql> SELECT commodity, COUNT(commodity) count FROM orders GROUP BY commodity ORDER BY count DESC;