Design a database for this data.
SQL
A
For each customer: Customer number (unique) Valid “ship to” addresses (several per customer) Balance Credit limit Discount –
For each order: Heading information: customer number, “ship-to” address, date of order. Detail lines (several per order), each giving item number, quantity ordered –
For each item: Item number (unique) Warehouses Quantity on hand at each warehouse Item description
For internal processing reasons, a “quantity outstanding” value is associated with each detail line of each order. [This value is initially set equal to the quantity of the item ordered and is progressively reduced to zero as partial shipments are made.]
Design a database for this data.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images