SQL · Writing data
update from
Updates rows using values from another table. PostgreSQL syntax; SQLite uses UPDATE … FROM as well.
Syntax
update t set x = s.x from source s where …Example
Open in the lab
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.