title: Need Help in selecting from 2 tables POSTGRES
body: <p>need help regarding the below scenario......</p>
  
  <h2>Table 1    name : function</h2>
  
  <h2>f_id     |f_name</h2>
  
  <p>10001    |Function 1 <br>
  10002    |Function 2 <br>
  10003    |Function 3   </p>
  
  <h2>Table 2    name : function_user</h2>
  
  <h2>fu_id    |fu_user</h2>
  
  <p>10001    |T_User1<br>
  10001    |T_User2<br>
  10001    |T_User3<br>
  10002    |G_User1<br>
  10002    |G_User2<br>
  10002    |G_User3<br>
  10002    |G_User4<br>
  10002    |G_User5<br>
  10002    |G_User6<br>
  10003    |X_User1<br>
  10003    |X_User2<br></p>
  
  <h2>Result Needed</h2>
  
  <h2>f_id     |fu_user</h2>
  
  <p>10001    |T_User1</p>
  
  <pre><code>     |T_User2
  
       |T_User3
  </code></pre>
  
  <p>10002    |G_User1</p>
  
  <pre><code>     |G_User2
  
       |G_User3
  
       |G_User4
  
       |G_User5
  
       |G_User6
  </code></pre>
  
  <p>10003    |X_User1</p>
  
  <pre><code>     |X_User2
  </code></pre>
  
  <p></p>
  
  <p>Immediate help would be highly appreciated......
  :)</p>