Last active
May 28, 2020 00:47
-
-
Save ombak/b4a491ca9e03c4ddb5e9d231be05e870 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT iso, name, nicename, iso3, numcode, phonecode | |
FROM countries | |
INTO OUTFILE '/var/lib/mysql-files/countries01.csv' | |
FIELDS ENCLOSED BY '' | |
TERMINATED BY ',' | |
ESCAPED BY '' | |
LINES TERMINATED BY '\r\n'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment