Postgresql – Set a column value based on a condition
I am using a table on a Postgres DB. I have a table with the following columns: ID STATE LOB CREATED TIMESTAMP SUBMISSION NUMBER SUBMISSION AMOUNT This table is being updated by 2 different insert queries: One where we receive…