This database design should normalized.
names table:
nameid , name
pick table:
pickid , pickname
You should make a new table, called connector_names_pick
add two fields into this table (integer types):
names_id And pick_id
Means names_id will be equal with names's nameid field, and pick_id will be equal with the pick table's pickid.
Each matches between names and picks stored in new lines.
example:
names table:
1 john
2 peter
pick table:
5 apple
6 brush
connector_names_pick table:
1 5
1 6
2 5