Created
May 18, 2018 14:02
-
-
Save antico5/19f5a25bb1c4b05706092436a279880c to your computer and use it in GitHub Desktop.
Update on joined table PostgreSQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Delivery.connection.update('UPDATE deliveries AS d SET customer_num = u.customer_num FROM users AS u WHERE d.customer_id = u.customer_id') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment