Skip to main content
HomeSQL

Course

Applying SQL to Real-World Problems

IntermediateSkill Level
4.8+
1,070 reviews
Updated 09/2024
Find tables, store and manage new tables and views, and write maintainable SQL code to answer business questions.
Start Course for Free
SQLReporting4 hr13 videos47 Exercises3,550 XP36,025Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

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.

Prerequisites

Data Manipulation in SQL
1

Use Real-World SQL

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.
Start Chapter
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.
Start Chapter
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.
Start Chapter
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.
Start Chapter
Applying SQL to Real-World Problems
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.8
from 1,070 reviews
88%
11%
1%
0%
0%
  • Roberto
    5 hours ago

  • BAYLEY
    yesterday

  • Kuan-Pei
    2 days ago

  • Volodymyr
    3 days ago

  • Ivan
    3 days ago

  • spencer
    4 days ago

    A nice simple review of SQL basics,

Roberto

BAYLEY

Kuan-Pei

FAQs

What SQL knowledge do I need before enrolling?

You should have completed courses on SQL fundamentals, intermediate SQL, data manipulation, and joining data. Comfort with subqueries, aggregations, and multi-table joins is expected.

What kind of database will I practice with in this course?

You will work with a database for a fictional movie rental company, which is large and complex enough to simulate real business challenges.

Will I learn how to create Entity Relationship Diagrams?

Yes. You will learn to explore system tables to discover database structure and then create an Entity Relationship Diagram to map connections between multiple tables.

Does this course teach SQL best practices for readability?

Yes. The final chapter covers approaches for writing clearly structured, well-commented SQL that conveys intent and is easy for teammates to read and maintain.

What data management tasks are included beyond querying?

You will learn to create tables and views, update existing data, and delete records when necessary, going beyond simple SELECT statements into full data management.

Join over 19 million learners and start Applying SQL to Real-World Problems today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.