Information about the Business
Congratulations, you have been hired by a Spirits distribution company in Dallas. They have provided you with the information about the spirits and the orders from their customers. They are interested in answers to the questions, but as a good database developer you are as concerned with organizing and making the SQL code neat.
The data and definitions are below. The questions might be adjusted per lectures. But no later than 2 weeks before the due date of the project.
Information about the Business
WINE Retail Price/bottle Cost / bottle Bottles / Case Initial Inventory (cases)
Cognac VSOP $13.5 $9.5 12 500
Cognac VS $16.75 $13 12 500
Cognac XO $11.00 $8.5 6 600
Brandy $13.00 $10.0 6 500
Vodka $12.00 $11.60 12 500
Rum $14.50 $16.55 12 500
Red Wine $16.55 $11.00 6 500
Cheta’s bar and Grill
2365 9th St Fort Worth
817-232-1365
2021 Invoice Summary
(Cases)
Month Cognac VSOP Cognac VS Cognac XO Brandy Vodka Rum Red WIne
Jan 4 1 4 3 2 0 0
Feb 3 2 3 8 2 0 0
Mar 1 1 4 4 2 1 0
April 2 2 5 7 2 2 0
May 1 2 4 3 1 1 1
June 3 5 5 2 1 1
July 2 3 5 7 2 0 1
August 1 5 5 2 0 1
Sept 1 7 7 1 0 1
Oct 2 3 3 5 2 1 2
Nov 4 6 7 2 1 2
Dec 3 2 6 1 1 2
Bills Package Store
3537 5th St Fort Worth
682-132-1325
2021 Invoice Summary
(Cases)
Month Cognac VSOP Cognac VS Cognac XO Brandy Vodka Rum Red Wine
Jan 3 3 2
Feb 3 2 2
Mar 3 3 3
April 5 4 4
May 6 6 3
June 6 2 2
July 6 3 3
August 6 6 5
Sept 5 4 4
Oct 4 6 3
Nov 3 2 2
Dec 7 6 1
The Bookstore
100 Main Street, Commerce, Tx
376-949-4522
2021 Invoice Summary
(Cases)
Month Cognac VSOP Cognac VS Cognac XO Brandy Vodka Rum Red Wine
Jan 1 1 1
Feb 2 4 3
Mar 3 8 1
April 4 1
May 2 1 4
June
July 8 1
August 1 2 1 3
Sept 1 1
Oct 1 2 2 1
Nov 1
Dec 8 1
Build out the ERD diagrams for the entire solution based on the following questions (you must have at least 3 tables for full credit, there is no limit based on your simplification of the data. The simplification of the data should follow the in-class examples of data, with no duplication in tables)
Provide
I. The Oracle code (within the word document) to build the database and tables
II. The Oracle code (within the word document) to answer each of the following questions
III. Provide screen shots answering each question along with any supporting text
Questions :
1. What is the final inventory of the Brandy?
2. What is the total revenue for the year?
3. What is the gross profit for the year?
4. How much revenue did each wine/spirit provide for the first six months?
5. What is the Average monthly revenue per location for the year?
6. If the retail price of the inventory increases by 10%, what is the gross profit margin ? (in dollars, via cost/retail information, not via external calculations)
7. How many bottles of the different spirits/wine were ordered in November?
8. What is the revenue per year per location?