Skip to main content
HomeSQLApplying SQL to Real-World Problems

Applying SQL to Real-World Problems

4.6+
12 reviews
Intermediate

Find tables, store and manage new tables and views, and write maintainable SQL code to answer business questions.

Start Course for Free
4 Hours13 Videos47 Exercises
24,740 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

Now that you’ve learned the basic tools of SQL you are ready to synthesize them into practical, real-world skills. In this course, you will work with a database of a fictional movie rental company. The size and complexity of this database will allow you to experience the challenges of working with databases firsthand. Throughout this course, you will use SQL to answer business-driven questions. You will learn new skills that will empower you to find the tables you need. You will then learn how to store and manage this data in tables and views that you create. Best of all you will also learn how to write code that not only clearly conveys your intent but is also legible.
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

SQL for Business Analysts

Go To Track
  1. 1

    Use Real-World SQL

    Free

    You will review some of the most commonly used SQL commands to ensure you are prepared to tackle both real-world problems as well as every exercise covered in this course.

    Play Chapter Now
    Essential SQL
    50 xp
    Review the essentials
    100 xp
    Practice the essentials
    100 xp
    Transforming your results
    50 xp
    Transform numeric & strings
    100 xp
    Extract what you need
    100 xp
    Working with aggregate functions
    50 xp
    Aggregating finances
    100 xp
    Aggregating strings
    100 xp
    Which tables?
    50 xp
  2. 2

    Find Your Data

    How do you find the data you need in your database in order to answer real-world business questions? Here you will learn how to use system tables to explore your database. You will use these tables to create a new tool that contains a list of all tables and columns in your database. Finally, you will create an Entity Relationship Diagram (ERD) which will help you connect multiple tables.

    Play Chapter Now
  3. 3

    Manage Your Data

    Working with SQL to solve real-world problems will oftentimes require you to do more than retrieve the data you need, oftentimes you will need to manage the data in your database. This includes creating data, updating it and, when necessary, deleting it.

    Play Chapter Now
  4. 4

    Best Practices for Writing SQL

    How do you ensure that the SQL scripts you write will be easy to understand for anyone who needs to read them? This chapter will cover approaches you can leverage to ensure that your code clearly conveys your intent, is readable by others and follows best practices.

    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

SQL for Business Analysts

Go To Track

Datasets

DVD Rental Database

Collaborators

Collaborator's avatar
Chester Ismay
Collaborator's avatar
Adrián Soto
Dmitriy Gorenshteyn HeadshotDmitriy Gorenshteyn

Lead Data Scientist at Memorial Sloan Kettering Cancer Center

See More

Don’t just take our word for it

*4.6
from 12 reviews
75%
17%
8%
0%
0%
Sort by
  • Ruthu S.
    about 1 month

    Very good explanation

  • Emrah T.
    8 months

    More practice sections regarding Real-World Problems will be useful Thank you very much indeed

  • Dmytro T.
    8 months

    Too much easy tasks, but very needed to get new skills

  • Eric F.
    over 1 year

    I liked! likely I'd recommend it to my friends.

  • Sujanthini L.
    over 1 year

    Good

"Very good explanation"

Ruthu S.

"More practice sections regarding Real-World Problems will be useful Thank you very much indeed"

Emrah T.

"Too much easy tasks, but very needed to get new skills"

Dmytro T.

Join over 13 million learners and start Applying SQL to Real-World Problems 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.