Psql db commands

PHOTO EMBED

Tue Aug 17 2021 07:46:45 GMT+0000 (Coordinated Universal Time)

Saved by @mglejser #sql

\d tablename # view table
\dt # show all tables
\q # exit psql console
\du # show all users
\l # show all databases
\conninfo # get connection info
content_copyCOPY