How to Update in PostgreSQL

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

-- Some rows
update users set updated_at = now() where id = 1;
database icon
From PostgreSQL query to chart to Slack in seconds
Get to answers faster, together, with PopSQL and PostgreSQL