Skip to content

Tag: postgresql

PostgreSQL Update and return

Let’s say I have a table called t in Postgres: id | group_name | state —————————– 1 | group1 | 0 2 | group1 | 0 3 | group1 | 0 I need to …