You can use the following commands to create tables in PostgreSQL Databases and to list all the tables in the database.
CREATE TABLE
1 | create table testtable(column1 int); |
![](https://dbtut.com/wp-content/uploads/2018/06/605.png)
LIST TABLES
1 | \dt *.* |
![](https://dbtut.com/wp-content/uploads/2018/06/640.png)
if you list for specific schema you can use the below command.
1 | \dt public.* |