Postgresql Command Line Select From Table