We’ll see how to write queries in your editor, format output based on content and how to get info on everything.
1. Use your editor to write queries:
Tell the terminal what editory to use with from your bash shell export EDITOR=subl
, then in psql type:
psql> \e