Skip to content

Instantly share code, notes, and snippets.

@rohitdholakia
Created December 24, 2011 19:36
Show Gist options
  • Save rohitdholakia/1518173 to your computer and use it in GitHub Desktop.
Save rohitdholakia/1518173 to your computer and use it in GitHub Desktop.
A SQL Query to write all data into a Table from a file
load data infile "/home/crazyabtliv/netflixAll2.txt"
into table allRatings
fields terminated by ","
lines terminated by "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment