List databases \list \l Connect \connect \c List Tables \dt Export Stuff to CSV Copy (Select * From foo) To '/tmp/test.csv' With CSV DELIMITER ',';