This seems like it should be easier than I\'m finding it. I have a table that contains both first and last names (specified by a type ID) and a frequency of how common the name
Top 5 most common first names:
select Name from Names where NameType = 1 order by FrequencyPercent desc limit 5;