Skip to content

An Exploratory data analysisof an international brewery using SQL

Notifications You must be signed in to change notification settings

lilynaza/breweries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The data set is in a csv formate I first created a table using the query belowe before loading the data set.

SQL_create

Problem Statement

The manager of an international breweries need to make better decision making in order to maximize profit and reduce loss to the lowest minimum. He has asked me to perform various analysis to aid him in his decision making using data from the past three years.

PROFIT ANALYSIS

  1. Within the space of the last three years, what was the profit worth of the breweries, inclusive of the anglophone and the francophone territories?

1

  • Result

1r

The breweries made a total of 105587420 profit with in 3 years

  1. Compare the total profit between these two territories in order for the territory manager, Mr. Stone to make a strategic decision that will aid profit maximization in 2020.

To group the data into Anglophone and Francophone I wrote a CTE.

2

  • Result

2r

Within three years Anglophone made a total of 42389260 profit and Francophone made a profit of 63198160

  1. What country generated the highest profit in 2019

3

  • Result

3r

Ghana made a total of 7144070 profit in 2019 making them the highest profit generating country

  1. Help him find the year with the highest profit.

4

  • Result

4r

The highest profit was made in 2017 with a profit of 38503320

  1. Which month in the three years was the least profit generated?

5

  • Result

5r

  • April made the least profit
  1. What was the minimum profit in the month of December 2018?

6

  • Result

6r

The mininum profit in the month of December was 3902160

  1. Compare the profit for each of the months in 2019

7

  • Result

7r

August made a total of 2982800 followed by July which made 2945340 profit.

  1. Which particular brand generated the highest profit in Senegal?

8

  • Result

8r

Castle lite generated the highest profit in Senegal.

BRAND ANALYSIS

  1. Within the last two years, the brand manager wants to know the top three brands consumed in the francophone countries

9

  • Result

9r

  • Budweiser, grand malt and trophy were the top 3 brand
  1. Find out the top two choice of consumer brands in Ghana

10

  • Result

10r

  • hero and beta malt were the top choices made in Ghana.
  1. Find out the details of beers consumed in the past three years in the most oil reached country in West Africa.
  • Nigeria the the most oil producting country in west Africa

11

  • Result

11r

  • Budweiser is the most consumed beer in Nigeria followed by eagle lager and hero
  1. Favorites malt brand in Anglophone region between 2018 and 2019

12

  • Result

12r

  • grand malt is the most consumed malt in Anglophone between 2018 and 2019.
  1. Which brands sold the highest in 2019 in Nigeria?

13

  • Result

13r

  • Hero sold a total of 9622 in Nigeria in the year 2019 making the the most consumeed brand.
  1. Favorites brand in South_South region in Nigeria

14

  • Result

14r

  • eagle lager is the most consumed brand in south south region in Nigeria.
  1. Bear consumption in Nigeria

15

  • Result

15r

  1. Level of consumption of Budweiser in the regions in Nigeria

16

  • Result

16r

  • 129260 quantity of beer was consumed in Nigerai
  1. Level of consumption of Budweiser in the regions in Nigeria in 2019 (Decision on Promo)

17

  • Result

17r

  • West 4620 followed by north central 4498

COUNTRIES ANALYSIS

  1. Country with the highest consumption of beer.

18

  • Result

18r

  • Senegal consumed a total of 103901 beer followed by Nigeria 103578.
  1. Highest sales personnel of Budweiser in Senegal

19

  • Result

19r

  1. Country with the highest profit of the fourth quarter in 2019

20

  • Result

20r

Dashboard

23

About

An Exploratory data analysisof an international brewery using SQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published