Interactive Course

Analyzing Business Data in SQL

Learn to write SQL queries to calculate key metrics that businesses use to measure performance.

  • 4 hours
  • 15 Videos
  • 46 Exercises
  • 4,025 Participants
  • 3,700 XP

Loved by learners at thousands of top companies:

t-mobile-grey.svg
forrester-grey.svg
mls-grey.svg
ikea-grey.svg
dell-grey.svg
3m-grey.svg

Course Description

Businesses nowadays track data on everything, from operations to marketing to HR. Leveraging this data enables businesses to understand themselves and their customers, leading to higher profits and better performance. In this course, you’ll learn about the key metrics that businesses use to measure performance. You'll write SQL queries to calculate these metrics and produce report-ready results. Throughout the course, you'll study the data of Delivr, a fictional food delivery startup; this data is modeled on real companies' datasets.

  1. 1

    Revenue, cost, and profit

    Free

    Profit is the first thing people ask about to asses a company's success. In this chapter, you'll learn how to calculate revenue and cost, then combine the two calculations using Common Table Expressions to figure out profit.

  2. ARPU, histograms, and percentiles

    A KPI, being a single number, can't say much about how data is distributed. In this chapter, you'll learn about unit economics, histograms, bucketing, and percentiles, which you'll use to spot the variance in user behaviors.

  3. User-centric KPIs

    Financial KPIs like profit are important, but they don't say much about user activity and engagement. In this chapter, you'll learn how to calculate the registrations and active users KPIs, and use window functions to calculate the user growth and retention rates.

  4. Generating an executive report

    Executives often use the KPIs you've calculated in the three previous chapters to guide business decisions. In this chapter, you'll package the KPIs you've created into a readable report you can present to executives and managers.

  1. 1

    Revenue, cost, and profit

    Free

    Profit is the first thing people ask about to asses a company's success. In this chapter, you'll learn how to calculate revenue and cost, then combine the two calculations using Common Table Expressions to figure out profit.

  2. User-centric KPIs

    Financial KPIs like profit are important, but they don't say much about user activity and engagement. In this chapter, you'll learn how to calculate the registrations and active users KPIs, and use window functions to calculate the user growth and retention rates.

  3. ARPU, histograms, and percentiles

    A KPI, being a single number, can't say much about how data is distributed. In this chapter, you'll learn about unit economics, histograms, bucketing, and percentiles, which you'll use to spot the variance in user behaviors.

  4. Generating an executive report

    Executives often use the KPIs you've calculated in the three previous chapters to guide business decisions. In this chapter, you'll package the KPIs you've created into a readable report you can present to executives and managers.

What do other learners have to say?

Devon

“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group

Louis

“DataCamp is the top resource I recommend for learning data science.”

Louis Maiden

Harvard Business School

Ronbowers

“DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA

Michel Semaan
Michel Semaan

Data Scientist

Michel is a data scientist who's worked at leading Middle-Eastern startups like Bookwitty (e-commerce) and Anghami (music streaming). He loves using open-source technologies like Python, R, and SQL to analyze data, optimize KPIs, and solve problems.

See More
Collaborators
  • Mona Khalil

    Mona Khalil

  • Sara Billen

    Sara Billen

Prerequisites
Icon Icon Icon professional info