The LOAD DATA INFILE statement provides you the way to import data from a plain text file into database. Mysql CSV is used to load the text file and add to the table in database have the same format
Understand with Example
The Tutorial provides you an elaborate example on Mysql CSV. To understand and grasp example, we create a text file 'C:/g.csv' and load this text file into table employee12 that has same format as of text file g.csv.
data inline : The keyword is used to import the data from text file to database in Mysql.
Query for loading table data from csv file:
Query for viewing loaded data of table named employee12: