Have you got anywhere with this?
I think I see what is going on here. Your mySql query is set up to receive only one value, which is why it works when only one TV value is selected.
What you need to do is set your TV output type to ’Delimiter’, then use a comma ’,’ as the delimiter.
This will output your selected names as Name1,Name2,Name3 (instead of Name1Name2Name3).
Then go into your snippet and change your query to:
SELECT name, email FROM employee WHERE name IN ($name);
Give that a go and see if it works for you...