Reporting in SQL

Learn how to build your very own dashboard by applying all the SQL concepts and functions you have learned in previous courses.

Start Course for Free
4 Hours15 Videos54 Exercises17,177 Learners
4450 XP

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies


Course Description

Become a master at building complex reports! In this course, you will apply all the SQL concepts and functions you have learned in previous courses to build out your very own dashboard. By navigating through an Olympics database, you will become an expert data explorer and learn how to understand novel database quickly and effectively. Since data is never perfect, you will gain valuable strategies to deal with real-world issues commonly found with SQL, including how to remove data duplication and how to turn messy data into clean, organized reports. Lastly, you’ll conquer complex calculations using window functions and layered calculations, all within the same report. This is a perfect class for anyone who will be commonly pulling data from databases and is a great complement for those who use R or Python for data science.

  1. 1

    Exploring the Olympics Dataset

    Free

    Before you can start building out reports to answer specific questions, you should get familiar with the data. In this chapter, you will learn how to use E:R diagrams and data exploration techniques to get a solid understanding of the data to better answer business-related questions.

    Play Chapter Now
    Case study
    50 xp
    Identifying the base report
    50 xp
    Building the base report
    100 xp
    Athletes vs events by sport
    100 xp
    The Olympics dataset
    50 xp
    Planning queries with an E:R diagram
    50 xp
    Age of oldest athlete by region
    100 xp
    Number of events in each sport
    100 xp
    Exploring our data
    50 xp
    Exploring summer_games
    100 xp
    Validating our query
    100 xp
    Report 1: Most decorated summer athletes
    100 xp
  2. 2

    Creating Reports

    Queries can get large, fast. It's important to take a logical approach when building more complicated queries. In this chapter, you will take a step-by-step approach to plan and build a complex query that requires you to combine tables in multiple ways and create different types of fields.

    Play Chapter Now
  3. 4

    Complex Calculations

    The value of reporting really shows when presenting not-so-obvious insights through complex calculations. In this chapter, you will learn how to build more complicated fields by leveraging window functions and layered calculations. You will gain hands-on experience building two advanced calculations in particular: the percent of a total calculation and the performance index calculation.

    Play Chapter Now

In the following tracks

SQL for Business Analysts

Collaborators

Sara BillenMona Khalil

Prerequisites

Intermediate SQL
Tyler Pernes Headshot

Tyler Pernes

Learning & Development Consultant

As a learning & development consultant by day and a freelancer by night, Tyler has two clear passions in life: teaching and data. After receiving a bachelor's in biophysics at Johns Hopkins University, he moved into the world of data and began working in the ad-tech industry, leading two business intelligence teams in the process. He specializes in SQL, data visualization, data modeling, and data analysis.
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

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

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA