How to Update in PostgreSQL

-- All rows
update users set updated_at = now();

-- Some rows
update users set updated_at = now() where id = 1;
Cta

Real-time SQL collaboration is here

Get started with PopSQL and PostgreSQL in minutes