-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值?创建表格列“作为常量值”