title: Replacing empty integer cells with 0 in postgreSQL
body: <p>I have a view </p>
  
  <pre><code>matches_view
  </code></pre>
  
  <p>returning the following:</p>
  
  <pre><code> id |      name      | wins | losses | matches
  ----+----------------+------+--------+---------
    2 | Peter          |    1 |      2 |       3
    1 | Kevin          |    3 |      1 |       4
    3 | John           |      |      1 |
  </code></pre>
  
  <p>How can I replace the empty columns in the last row with 0s in postgreSQL? </p>