title: sql two-way join
body: <p>I have these two tables</p>
  
  <p>table1:</p>
  
  <p><img src="https://i.stack.imgur.com/sSFDY.jpg" alt="tbl1"></p>
  
  <p>table2:</p>
  
  <p><img src="https://i.stack.imgur.com/jTWtZ.jpg" alt="tbl2"></p>
  
  <p>and I want to get this table as a result of joining the two tables</p>
  
  <p><img src="https://i.stack.imgur.com/ga1Dp.jpg" alt="res"></p>
  
  <p>Can you please help me with the right query?</p>
  
  <p>10X</p>