I was looking at documentation from Microsoft about their AdventureWorks Database :
In their SalesOrderHeader table, they have a column "SubTotal" that they define as :
Sales subtotal: Computed as SUM(SalesOrderDetail.LineT
otal) for the SalesOrderID.
Q: Can this be coded as a contraint or are they referring to the application computing this value?
Thanks much in advance,