postgreSQL_cheatsheet
\PostgreSQL commands\\\
CREATE ROLE role_name;CREATE ROLE username NOINHERIT LOGIN PASSWORD password;SET ROLE new_role;GRANT role_2 TO role_1;Managing databases
CREATE DATABASE [IF NOT EXISTS] db_name;DROP DATABASE [IF EXISTS] db_name;Managing tables
Managing views
Managing indexes
Querying data from tables
Set operations
Modifying data
Performance
Last updated