Skip to main content
HomeSQLExploratory Data Analysis in SQL

Exploratory Data Analysis in SQL

4.4+
61 reviews
Intermediate

Learn how to explore what's available in a database: the tables, relationships between them, and data stored in them.

Start Course for Free
4 hours16 videos57 exercises
124,856 learnersTrophyStatement of Accomplishment

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.
GroupTraining 2 or more people?Try DataCamp For Business

Loved by learners at thousands of companies


Course Description

You have access to a database. Now what do you do? Building on your existing skills joining tables, using basic functions, grouping data, and using subqueries, the next step in your SQL journey is learning how to explore a database and the data in it. Using data from Stack Overflow, Fortune 500 companies, and 311 help requests from Evanston, IL, you'll get familiar with numeric, character, and date/time data types. You'll use functions to aggregate, summarize, and analyze data without leaving the database. Errors and inconsistencies in the data won't stop you! You'll learn common problems to look for and strategies to clean up messy data. By the end of this course, you'll be ready to start exploring your own PostgreSQL databases and analyzing the data in them.
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more
Try DataCamp for BusinessFor a bespoke solution book a demo.

In the following Tracks

Certification Available

Associate Data Analyst in SQL

Go To Track

SQL for Business Analysts

Go To Track
  1. 1

    What's in the Database?

    Free

    Start exploring a database by identifying the tables and the foreign keys that link them. Look for missing values, count the number of observations, and join tables to understand how they're related. Learn about coalescing and casting data along the way.

    Play Chapter Now
    What's in the database?
    50 xp
    Explore table sizes
    50 xp
    Count missing values
    100 xp
    Join tables
    100 xp
    The keys to the database
    50 xp
    Foreign keys
    50 xp
    Read an entity relationship diagram
    100 xp
    Coalesce
    100 xp
    Column types and constraints
    50 xp
    Effects of casting
    100 xp
    Summarize the distribution of numeric values
    100 xp
  2. 2

    Summarizing and Aggregating Numeric Data

    You'll build on functions like min and max to summarize numeric data in new ways. Add average, variance, correlation, and percentile functions to your toolkit, and learn how to truncate and round numeric values too. Build complex queries and save your results by creating temporary tables.

    Play Chapter Now
  3. 3

    Exploring Categorical Data and Unstructured Text

    Text, or character, data can get messy, but you'll learn how to deal with inconsistencies in case, spacing, and delimiters. Learn how to use a temporary table to recode messy categorical data to standardized values you can count and aggregate. Extract new variables from unstructured text as you explore help requests submitted to the city of Evanston, IL.

    Play Chapter Now
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more

In the following Tracks

Certification Available

Associate Data Analyst in SQL

Go To Track

SQL for Business Analysts

Go To Track

datasets

Stack Overflow Question CountsFortune 500 CompaniesEvanston 311 Help RequestsCourse Database Creation CodeCourse Database Entity Relationship Diagram

collaborators

Collaborator's avatar
Chester Ismay
Collaborator's avatar
Mona Khalil
Collaborator's avatar
Adrián Soto
Christina Maimone HeadshotChristina Maimone

Data Scientist, Northwestern University

Christina Maimone leads Research Data Services at Northwestern University with the IT Research Computing Services group. She enables innovative research by providing data science, programming, and software development support for researchers. Through consultations, project collaborations, user groups, and workshops, the Research Data Services team ensures researchers have the resources, services, and skills they need to overcome challenges in their work. Christina regularly uses R, Python, and SQL but enjoys the challenge of using a wide range of programs and languages in her work. She has a PhD in political science and an MS in statistics from Stanford.
See More

Don’t just take our word for it

*4.4
from 61 reviews
64%
23%
8%
3%
2%
Sort by
  • James K.
    29 days

    Excellent course

  • Roman G.
    about 1 month

    Excellent! Thanks a lot!

  • MARYAM G.
    about 1 month

    I’m really attracted to DataCamp’s training methods, and I’m delighted to see how much your platform has improved over the past four years!

  • Gulcin A.
    5 months

    This was the best content with clear explanation so far in my SQL learning journey. More courses from this tutor please.

  • Ilda D.
    5 months

    Great course

"Excellent course"

James K.

"Excellent! Thanks a lot!"

Roman G.

"I’m really attracted to DataCamp’s training methods, and I’m delighted to see how much your platform has improved over the past four years!"

MARYAM G.

FAQs

Join over 14 million learners and start Exploratory Data Analysis in SQL today!

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.