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 = '%5bP' order by rank asc limit 0,100 Surnames > %5b > %5bP > %5bPS

Surnames > %5b > %5bP > %5bPS

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 %5bPS(Alphabetical)