Download PostgreSQL at this link .
When installing, please remember the initial password you set for user postgres, and the default port number 5432, which will be used later.
Then install the graphical management UI pgadmin, available from this link .
After the installation is complete, log in to pgadmin and change the port in the server connection to the default 5432:
After successfully connecting to the server, create a new Table:
Maintain three columns for the table:
Insert some test data using Script:
After the test data is inserted, query the data just inserted through SELECT *.
The effect is the same as that of using the command line tool psql.
Insert a piece of test data at the command line:
Insert result:
To get more original technical articles from Jerry, please follow the public account "Wang Zixi" or scan the QR code below: