How to Create a View in PostgreSQL

create or replace view enriched_users as (
  select *
  from users
  inner join enrichments on enrichments.user_id = users.id
);
database icon
Better SQL for the people
Get more done with PopSQL and PostgreSQL