PostgreSQL
Online free PostgreSQL
Installing PSQL in Ubuntu
# this only install the psql client and not the database
sudo apt-get update
sudo apt-get install postgresql-client
Connecting to Remote PostgreSQL instance in psql client
psql -h <IP_Address> -p <port_no> -d <database_name> -U <DB_username> -W
-W option will prompt for password
psql -h 192.168.1.50 -p 5432 -d testdb -U testuser -W
Connecting via Docker
Install and Configure PSQL using Docker:
Install PG-admin using Docker:
Clean PostgreSQL terminal
Login a Postgresql database
List all the PostgreSQL user
List of All Database
Creating a user and Database
Creating a Table
Inserting Data into the table
Read the data from Table
Update the value from Table
Deleting the data from Table
Ordering in Table
LIMIT / OFFSET Clause
Datatypes
Database keys and Indexes in PostgreSQL
Loading Data from SQL
Relational Database
Keys
Best Practise
Database Normalization
3 NF
Joins in SQL
One to Many Relations :
Many to Many relationship


Reference :
Last updated