title: SQL Query to use column as a formula to calculate value
body: <p>I am working on a request that i need to calculate value based on formula specified in another column</p>
  
  <p>Below is my table:</p>
  
  <p><a href="https://i.stack.imgur.com/8yK3G.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8yK3G.jpg" alt="enter image description here"></a></p>
  
  <p>I need to write the query to get value which will be based on <code>FORMULA</code> column. eg I need result as</p>
  
  <p><a href="https://i.stack.imgur.com/UqEYC.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UqEYC.jpg" alt="enter image description here"></a></p>
  
  <p>As formula could be anything consisting of my columns <code>PRICE</code> and <code>SIZE</code>, how do i write the query to achieve this?</p>