Skip to content

Postgres🔗

psql🔗

psql is the query interface CLI to postgres.

Commands such as:

PostgreSQL Console (Psql)
# Show all tables
\dt
# Describe a table called note
\d note
# Show all functions
\df
# Show the data in a table called note
SELECT * FROM note;
# Quit psql
\q

Last update: June 7, 2023
Created: June 7, 2023