postgresqlpsqlpgadmin-4

PSQL Not Showing Results


I am connecting to psql using pgadmin. I have not connected to psql before and was just testing.

Why does this query return 0 results?

Missing_results

Shouldn't I see the bottom picture in the results? What am I doing wrong? It looks like my connection is correct, so I don't believe that is the issue.

Other Examples

Edit #1:

Here is another example:

Found_Results


Solution

  • The ; character is what sends it to the server.

    Example of what would work:

    Select 'test' as test_column;