Created
April 10, 2018 18:28
-
-
Save salsasteve/f4a1d05c39fd17bec97968d94cffd55d to your computer and use it in GitHub Desktop.
save file to csv using MyCli
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
# Run below to save to csv | |
\T csv | |
\o ~/my_file.csv | |
select * from users where created_at > '2017-01-01'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment