dette er Postgres UPDATE JOIN-format:
UPDATE address
SET cid = customers.id
FROM customers
WHERE customers.id = address.id
Her er de andre varianter:http://mssql-to-postgresql.blogspot.com/2007/12/updates-in-postgresql-ms-sql-mysql.html
dette er Postgres UPDATE JOIN-format:
UPDATE address
SET cid = customers.id
FROM customers
WHERE customers.id = address.id
Her er de andre varianter:http://mssql-to-postgresql.blogspot.com/2007/12/updates-in-postgresql-ms-sql-mysql.html