CREATE TEMPORARY TABLE temp_table_name(
   column_list
);
Code language: PostgreSQL SQL dialect and PL/pgSQL (pgsql)