Learning Postgres SQL note