postgresql - How to create multiple temp tables using records from a CTE that I need to call multiple times in Postgres plpgsql Procedure? - Database Administrators Stack Exchange
PostgreSQL Join overview with examples
How to Delete Multiple Rows From a Table in PostgreSQL - CommandPrompt Inc.
Javarevisited: How to join three tables in SQL query – MySQL Example
sql - Postgresql: view from multiple tables (with same fields) - Stack Overflow