title: How to update selected rows with values from a CSV file in Postgres?
body: <p>I'm using Postgres and would like to make a big update query that would pick up from a CSV file, lets say I got a table that's got <code>(id, banana, apple)</code>.</p>
  
  <p>I'd like to run an update that changes the Bananas and not the Apples, each new Banana and their ID would be in a CSV file.</p>
  
  <p>I tried looking at the Postgres site but the examples are killing me.</p>