Start using PostgreSQL

Navigate psql

Use psql meta-commands to inspect the current connection without confusing them with SQL.

8 minute lesson

~~~

Commands beginning with a backslash belong to psql. Try \conninfo, \l, \dt, \d notes, and \q.

SQL statements such as SELECT current_database(); end with a semicolon. Use \? for psql help and \h SELECT for SQL help.

Lesson completed

Take this course offline

Get every free book and course as PDF and EPUB files.

Get the download library →