I have a CSV file with fields given as follows.
number1, string1, "string2, string3", number2, string4, "string5, string6"
where number's are numbers and string's are strings. I am trying to read this as follows, I am ignoring first header line
LOAD DATA LOCAL
INFILE 'filename.csv'
INTO TABLE table_name
FIELDS TERMINATED BY ','
IGNORE 1 LINES;
But due to embedded commas in some fields, this command is giving causing to overlap the fields. How would I correctly do this in MySQL?