Computed Column in Mysql
<p>I am trying to add a computeed column.</p>

<pre><code>alter table datatest add column amount2 double  as (amount*rate)
</code></pre>

<p>but I got error while executing this</p>