Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

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

image
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

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essentials Of Business Communication

Authors: Mary Ellen Guffey, Dana Loewy

12th Edition

0357714970, 9780357714973

More Books

Students explore these related Databases questions