How to visualize database tables in postgresql using pgAdmin?

Solution 1:

In pgAdmin 4 right click on the database and then "Generate ERD (Beta)"

enter image description here

Solution 2:

For pgadmin 3 Go to Tools -> Query Tool

Graphical Query Builder is a tab in the Query Tool view.

unfortunately Pgadmin 4 does not have this option.