PostgreSQLの基本的(よく使う)コマンドです。 [toc heading_levels="2"] データベースの一覧を見る データベースの一覧を見る方法です。 構文 \l 使用例 postgres=# \l List of databases Name | Owner | Encoding -----------+----------+---------- postgres | postgres | UTF8 sasuke | postgres | UTF8 sasuke2 | postgres | UTF8 template0 | postgres | UTF8 template1 | postgres | UTF8 test1 | postgres | UTF8 (6 rows) テーブルの一覧 テーブルの一覧の確認方法です。 構文 \d 使用例 postgres=# \d L
![PostgreSQLのコマンド一覧](https://cdn-ak-scissors.b.st-hatena.com/image/square/0c6cb983a2ee964495deb436f97c111e25a6ad14/height=288;version=1;width=512/https%3A%2F%2Fwww.sasukepg.jp%2Fwp-content%2Fuploads%2F2018%2F04%2Fsql.png)