Common Postgress PSQL CLI commands
LIST ALL TABLES:
- \dt
- \dt+ (shows extra info about the tables eg. table size)
LIST ALL CREATED VIEWS
- \dv
CREATE A View
CREATE <viewname> AS SELECT <required column names seperated by commas> FROM <table name>;
DROP A VIEW
DROP VIEW view_name;