I have csv file Studies contains
RollNo, subject1, subject2, subject3
Now I want to create table Study in Mysql contains column:
RollNo Subject
Eg.- csv file has entry
15CS1001, NLP, IR, ML
and corresponding entries in table would be
15CS1001 NLP
15CS1001 IR
15CS1001 ML
stackoverflow shows how to insert selected columns from csv file to mysql, but it insert whole column.