title: how to get the table column names as entries in result column set?
body: <p>The database scheme consists:</p>
  
  <p>Table1(code, col1, col2, col3, col4, col5)</p>
  
  <ol>
  <li>What to do is:
  For the Table1 with the maximal code value from Table1 table, obtain all its characteristics (except for a code) in two columns:
  <ul>
  <li>The name of the characteristic (a name of a corresponding column in the PC table);</li>
  <li>Value of the characteristic.</li>
  </ul></li>
  </ol>
  
  <p>I don't have any idea how to get the table column names in my result column set.
  The final result will look like:</p>
  
  <pre><code>chr value
  col1    133
  col2    80
  col3    28
  col4    2
  col5    50
  </code></pre>