Postgresql Command Line Select From Table Where Column Value