title: How to compute a column value in oracle 10g?
body: <pre><code>create table ord_tbl
  (
  ord_id number(10) primary key,
  ord_name varchar2(20),
  quantity number(20),
  cost_per_item number(30),
  total_cost number(30)--This colm shud be (quantity*cost_per_item),
  ord_date date
  )
  </code></pre>
  
  <p>So when I insert rows then the 'total_cost' should automatically get generated and inserted into a table</p>