The query you tried initially (that didn't do what you wanted) uses a MySQL "weakness" that you should avoid. In standards complain SQL system you MUST include ALL "non-aggregating" columns of a select clause into the group by clause. Note that your query does NOT do this:
SELECT countyID, dataPercentage, MAX(dataDate)
FROM myTable
GROUP BY countyID
Under certain conditions (when ONLY_FULL_GROUP_BY is off) MySQL allows a user to bypass this standard syntax making it look oh so clever and oh so easy. Ha! No it isn't.
What MySQL actually does in a query like yours is APPROXIMATE what the values of dataPercentage will be displayed. Queries like this are NOT RELIABLE and SHOULD BE AVOIDED. Please read MySQL Handling of GROUP BY
If ONLY_FULL_GROUP_BY is disabled, a MySQL extension to the standard SQL use of GROUP BY permits the select list, HAVING condition, or ORDER BY list to refer to nonaggregated columns ... [then] the server is free to choose any value from each group, ... which is probably not what you want.
Open in new window