One correction: SQL constraint can not be used for the product check, as check constraints only work on values in the current row.
One correction: SQL constraint can not be used for the product check, as check constraints only work on values in the current row.