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 = 'QO' order by rank asc limit 0,100 Surnames > Q > QO > QOO

Surnames > Q > QO > QOO

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
QA QI QO QU
QOS

Full Surname List Starting with QOO(Alphabetical)