title: postgresql select multiple values
body: <p>I have two tables:</p>
  
  <p>Table1 'jobs'</p>
  
  <pre><code>num  |  job1  | job2
  --------------------
   1   |    14  |   12 
   2   |    23  |   15
   3   |    3   |   12
   4   |    21  |   3
   5   |    6   |   8 
  </code></pre>
  
  <p>Table2 'users'  </p>
  
  <pre><code>id  |  name
  ------------
  3   | name1
  6   | name2
  12  | name3
  14  | name4
  15  | name5
  </code></pre>
  
  <p>I need to have query which shows:</p>
  
  <pre><code>num  |  job1     | job2
  --------------------------
   1   |    name4  |   name3 
   2   |    name6  |   name5
  </code></pre>
  
  <p>Thanks already</p>