Last active
April 20, 2018 21:57
-
-
Save WilliamQLiu/52c0c3589f7d97a81fc390c8d060ec24 to your computer and use it in GitHub Desktop.
Myclirc save file to csv
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 - run each line by line | |
\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