title: SQL nested select statement;
body: <p>I need to make a new table based on this datatable schema. 
  I am not exactly sure if i can do that using nested sql select statements or else. </p>
  
  <p><img src="https://i.stack.imgur.com/Fkmbn.png" alt="screenshot"></p>