A.CHECK(销售价格BETWEEN单价*0.6AND单价*1.5)
B.CHECK(销售价格BETwEEN商品表.单价*0.6AND商品表.单价*1.5)
C.CREATE TRIGGER tri Sales ON销售表FOR INSERT,UPDATEAS IF EXISTS(SELECT*FROM INSERTED a JOIN商品表b.ON a.商品号=b.商品号 WHERE销售价格NOT BETwEEN单价*0.6 AND单价*1.5)ROLLBACK
D.CREA TETRIGGER tri Sales ON销售表INSTEAD OF INSERT,UPDATEAS IF EXISTS(SELECT*FROM INSERTED a JOIN商品表b ON a.商品号=b.商品号wHERE销售价格NOT BETwEEN单价*0.6 AND单价*1.5)ROLLBACK