toto je formát Postgres UPDATE JOIN:
UPDATE address
SET cid = customers.id
FROM customers
WHERE customers.id = address.id
Zde jsou další varianty:http://mssql-to-postgresql.blogspot.com/2007/12/updates-in-postgresql-ms-sql-mysql.html
toto je formát Postgres UPDATE JOIN:
UPDATE address
SET cid = customers.id
FROM customers
WHERE customers.id = address.id
Zde jsou další varianty:http://mssql-to-postgresql.blogspot.com/2007/12/updates-in-postgresql-ms-sql-mysql.html