select NAME, rank, count, surname_entries.id 'wiki_id' from surnames left join surname_entries on surname_entries.surname = surnames.name and surname_entries.entry_type = 1 where index2 = '50' order by rank asc limit 0,100 Surnames > 5 > 50 > 501

Surnames > 5 > 50 > 501

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Full Surname List Starting with 501(Alphabetical)