I have one table with the following kinds of records in it. I have Salesman and associated account numbers (comma separated).
Salesman
+----------+----------
You can do this with a stored procedure. See http://kedar.nitty-witty.com/blog/mysql-stored-procedure-split-delimited-string-into-rows for an example that looks like it solves your problem.