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

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

$
0
0

Here we go:

UPDATE vehicles_vehicle vSET price = s.price_per_vehicleFROM shipments_shipment sWHERE v.shipment_id = s.id;

Simple as I could make it.


Viewing all articles
Browse latest Browse all 19

Trending Articles



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