Question: I am trying to insert data from a csv file into a table but I keep getting an error and cannot figure out why CoursHeroTranscribedText

I am trying to insert data from a csv file into a table but I keep getting an error and cannot figure out why

mysql> mysql> mysql> LOAD DATA INFILE /home/codio/Britton/FleetMaintenanceRecords.csv' -> INTO TABLE Parts_Maintanence ->

CoursHeroTranscribedText

mysql> mysql> mysql> LOAD DATA INFILE /home/codio/Britton/FleetMaintenanceRecords.csv' -> INTO TABLE Parts_Maintanence -> FIELDS TERMINATED BY ',' -> LINES TERMINATED BY ' ' -> IGNORE 1 ROWS; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*/ home/codio/Britton/FleetMaintenanceRecords.csv' INTO TABLE Parts_Maintanen' at line 1 mysql>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!