discounts is defined as follows:
create table discounts (discounttype varchar(40) not null, stor_id char(4) null references stores(stor_id), lowqty smallint null, highqty smallint null, discount float not null)
Table B-10 lists the contents of discounts:
discounttype |
stor_id |
lowqty |
highqty |
discount |
---|---|---|---|---|
Initial Customer |
8042 |
NULL |
NULL |
10.5 |
Volume Discount |
NULL |
100 |
1001 |
6.7 |
Huge Volume Discount |
NULL |
1001 |
NULL |
10 |
Customer Discount |
8042 |
NULL |
NULL |
5 |