Skip to main content
Rafał Alitojć avatar

Rafał Alitojć has completed

Introduction to SQL Server

Start course For Free
4 hours
3,850 XP
Statement of Accomplishment Badge

Loved by learners at thousands of companies

Course Description

Master the basics of Microsoft SQL Server—one of the world's most popular database systems.

This course covers:
✓ How to use SELECT statements to retrieve data
✓ How to use SQL Server aggregate functions
✓ How to manipulate text fields
✓ How to retrieve data from multiple sources
✓ All of the key aspects of working with data in SQL Server

Each time you're introduced to a new concept or function, you'll have the opportunity to test your knowledge and build your confidence. You'll work with a digital media database to review the sales of various artists and tracks, Eurovision datasets, and review trends in US power outages to explore a number of different data types and scenarios.
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.
  1. 1

    SELECTion Box


    Hit the ground running by learning the basics of SELECT statements to retrieve data from one or more columns. You'll also learn how to apply filters to both numeric and text data, and sort the results.

    Play Chapter Now
    50 xp
    Simple selections
    100 xp
    More selections
    100 xp
    Ordering and filtering
    50 xp
    Order by
    100 xp
    100 xp
    Where again
    100 xp
    Working with NULL values
    100 xp
    WHERE the wild things are
    50 xp
    Exploring classic rock songs
    100 xp
    Exploring classic rock songs - AND/OR
    100 xp
    Using parentheses in your queries
    100 xp
  2. 2

    Groups, strings, and counting things

    Herein, you'll learn how to use important SQL Server aggregate functions such as SUM, COUNT, MIN, MAX, and AVG. Following that, you'll learn how to manipulate text fields. To round out the chapter, you'll power up your queries using GROUP BY and HAVING, which will enable you to perform more meaningful aggregations.

    Play Chapter Now
  3. 3

    Joining tables

    This chapter covers the basics of joining tables, using INNER, LEFT, and RIGHT joins, so that you can confidently retrieve data from multiple sources.

    Play Chapter Now
  4. 4

    You've got the power

    In this final chapter, you'll get really hands on! You've worked with existing tables, but in this chapter, you'll get to CREATE and INSERT data into them. You'll also UPDATE existing records and practice DELETE statements in a safe environment. This chapter ensures the course gives you a thorough introduction to the key aspects of working with data in SQL Server.

    Play Chapter Now

In the following tracks

SQL Server DeveloperSQL Server Fundamentals


Collaborator's avatar
Mona Khalil
Collaborator's avatar
Yashas Roy
DataCamp Content Creator

Course Instructor

DataCamp offers interactive R, Python, Spreadsheets, SQL and shell courses. All on topics in data science, statistics, and machine learning. Learn from a team of expert teachers in the comfort of your browser with video lessons and fun coding challenges and projects.
See More

Join over 13 million learners and start Introduction to SQL Server today!

Create Your Free Account



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