gaiety / update_with_from_join.sql
0 likes
0 forks
1 files
Last active 2 days ago
https://neon.com/postgresql/postgresql-tutorial/postgresql-update-join
1 | UPDATE table1 |
2 | SET table1.c1 = new_value |
3 | FROM table2 |
4 | WHERE table1.c2 = table2.c2; |
Newer
Older