SQL to use column value which will have column names as formula while deriving other columns
<p>I have a table, in which one of the column values will have the formula.
What is the query to get the result.</p>

<pre><code>| Student | Dept  | col1 | col2 | col3 | col4             | col5  |
|-----------------------------------------------------------------|
| 100     | ECE   | 10   | 45   | 45   | col1+col2        |  55   | 
| 101     | EEE   | 25   | 25   | 25   | col1*col2        | 625   |
| 102     | MECH  | 45   | 50   | 50   | col1/col2        |   0.9 |
| 103     | CIVIL | 35   | 30   |  3   | (Col1/Col2)*Col3 |   3.5 |
| 104     | BIO   | 45   | 90   | 90   | Col1-Col2        | -45   |
| 105     | CSE   | 60   | 16   | 65   | Col1%Col2        |  12   |
</code></pre>

<p>I need to write a query to derive <code>col5</code> and the value should be the result of <code>col4</code> for each record.</p>