I have two tables (country & ducks) where the country table has every country in the world and the ducks table has a list of ducks with a country_id field to link to the
Try this:
SELECT c.country, MAX(d.rating) AS max_rating FROM country c JOIN ducks d ON c.id = d.country_id GROUP BY c.id ORDER BY c.country ASC
If the "highest rating" is 1, then change MAX(d.rating) to MIN(d.rating)
MAX(d.rating)
MIN(d.rating)