Quantcast
Channel: How to do an update + join in PostgreSQL? - Stack Overflow
Viewing all articles
Browse latest Browse all 19

Answer by Yusuf for How to do an update + join in PostgreSQL?

$
0
0

Here's a simple SQL that updates Mid_Name on the Name3 table using the Middle_Name field from Name:

update name3set mid_name = name.middle_namefrom namewhere name3.person_id = name.person_id;

Viewing all articles
Browse latest Browse all 19

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>