-2
create table factura (
importe money,
unidades_vendidas int,
subtotal as (unidades_vendidas * importe),
total as (subtotal * 1.18) -- (1.18 needs to be a constant value)
)
如何將「total」定義爲「小計」的1.18值?創建表格列「作爲常量值」