Check out example codes for "Import in mysql without a software". It will help you in understanding the concepts better.

Code Example 1

LOAD DATA INFILE "name.csv" INTO TABLE "TableName"
FIELDS TERMINATED BY "sign"
LINES TERMINATED BY "sign"
IGNORE 1 LINES
(columns);

Learn ReactJs, React Native from akashmittal.com