I have a dataset in the form of a CSV file than is sent to me on a regular basis. I want to import this data into my MySql database and turn it into a proper set of tables. The problem I am having is that one of the fields the is used to store multiple values. For example the field is storing email addresses. It may one email address or it may have two, or three, or four, etc. The field contents would look something like this. "[email protected],[email protected],[email protected]".
I need to be able to take the undetermined number of values from each field and then add them into a separate table so that they look like this.
[email protected]
[email protected]
[email protected]
I am not sure how I can do this. Thank you for the help.