title: Take the results from multiple sql queries and insert them inside a table
body: <p>I have these 3 queries</p>
  <pre><code>SELECT a.name
  FROM customer1 a, customer2 b
  WHERE a.id =  b.id
  
  SELECT c.code
  FROM segment1 c, orders e, country d, customer1 a
  WHERE a.code_1 = b.code_2
  AND c.segment1 = e.orders
  AND c.segment1_id = 6
  
  SELECT add.box, addr.address1, addr.address2
  from customer1 a, infos addr, actions ac
  WHERE a.account_id = addr.account_id
  AND ac.deletion_status = 'N'                                        
  </code></pre>
  <p>I want to combine the results from these 3 queries into one final table.</p>
  <p>If I do something like that:</p>
  <pre><code>SELECT a.name, c.code, addr.box, addr.address1, addr.address2
  FROM customer1 a, customer2 b, segment1 c, orders e, country d, infos addr, actions ac
  WHERE a.id = b.id
  AND a.code_1 = b.code_2
  AND c.segment1 = e.orders
  AND c.segment1_id = 6
  AND ac.deletion_status = 'N'                                        
  </code></pre>
  <p>Is this efficient? Do you recommend something else?</p>