(Postgres) SQL script to generate user with certain permissions

Job ID: 30927820

Budget: $10 – $30 USD

I want to set up an analytics user that has access to all tables in a database, but on one particular table, cannot access 2 specific columns.

This analytics user should only have read-only access.

Deliverables
a sql script file to issue the GRANT commands.