Skip to main content
HomeSQL

Course

Introduction to SQL

BasicSkill Level
4.8+
17,360 reviews
Updated 06/2025
Learn how to create and query relational databases using SQL in just two hours.
Start Course for Free

Included withPremium or Teams

SQLData Manipulation2 hr7 videos24 Exercises1,500 XP1,263,249Statement 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.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

Get an Introduction to SQL in Two Hours

Much of the world's raw data—from electronic medical records to customer transaction histories—lives in organized collections of tables called relational databases. Being able to wrangle and extract data from these databases using SQL is an essential skill within the data industry and in increasing demand.

In just two hours, you'll get to know the theory and the practice through bite-sized videos and interactive exercises where you can put your new-found skills to the test.

Learn how Relational Databases are Organized

SQL is an essential language for building and maintaining relational databases, which opens the door to a range of careers in the data industry and beyond. You’ll start this course by covering data organization, tables, and best practices for database construction.

Write Your First SQL Queries

The second half of this course looks at creating SQL queries for selecting data that you need from your database. You’ll have the chance to practice your querying skills before moving on to customizing and saving your results.

Understand the Difference Between PostgreSQL and SQL Server

PostgreSQL and SQL Server are two of the most popular SQL flavors. You’ll finish off this course by looking at the differences, benefits, and applications of each. By the end of the course, you’ll have some hands-on experience in learning SQL and the grounding to start applying it to projects or continue your learning in a more specialized direction.

Feels like what you want to learn?

Start Course for Free

What you'll learn

  • Define SQL and explain how relational databases organize and store structured data.
  • Identify tables, fields, records, and data types within a database schema.
  • Write basic SQL queries to select and retrieve data from relational tables.
  • Apply SQL clauses like SELECT, FROM, DISTINCT, and AS to customize query results.
  • Compare SQL flavors and recognize how SQL syntax varies across common database systems.

Prerequisites

There are no prerequisites for this course
1

Relational Databases

Start Chapter
2

Querying

Start Chapter
Introduction to SQL
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

Included withPremium or Teams

Enroll Now

Don’t just take our word for it

*4.8
from 17,360 reviews
89%
10%
1%
0%
0%
  • Itsoga
    22 minutes

  • Anthea
    about 1 hour

  • Noshin
    about 2 hours

    It was really helpful and I like how Datacamp simplifies everything

  • Aditya
    about 2 hours

  • Radek
    about 2 hours

    Fast and easy to understand.

  • Rachelle
    about 3 hours

    I hope there are actual system samples on how they are typed on screen before the student is asked to try coding himself. At first i did not realize that you need to delete the 3 underscores (___) before you can write your query for it to work.

Itsoga

Anthea

"It was really helpful and I like how Datacamp simplifies everything"

Noshin

FAQs

Join over 17 million learners and start Introduction to SQL 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.