Skip to main content
Free course

Querying with Transact-SQL

Start Free Course
58 Exercises
45,146 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

This is the interactive component of Microsoft's Querying with Transact-SQL course on edX. Click here to return to the course.
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

    Lab 1: Introduction to Transact-SQL

    Free

    In this lab, you will use some basic SELECT queries to retrieve data from the AdventureWorksLT database.

    Play Chapter Now
    Retrieving Customer Data
    50 xp
    Create List of Customer Contacts
    50 xp
    Create List of Customer Contacts (2)
    50 xp
    Retrieving Customer and Sales Data
    50 xp
    Retrieving Customer and Sales Data (2)
    50 xp
    Retrieving Customer Contact Names
    100 xp
    Retrieving Primary Contact Details
    100 xp
    Retrieving Shipping Status
    100 xp
  2. 3

    Lab 3: Querying Multiple Tables with Joins

    Free

    In this lab, you will use joins to combine data from multiple tables in the AdventureWorksLT database.

    Play Chapter Now
  3. 4

    Lab 4: Using Set Operators

    Free

    In this lab, you will use set operators to combine the results of multiple queries in the AdventureWorksLT database.

    Play Chapter Now
  4. 7

    Lab 7: Using Table Expressions

    Free

    In this lab, you will use views, temporary tables, variables, table-valued functions, derived tables, and common table expressions to retrieve data from the AdventureWorksLT database.

    Play Chapter Now
  5. 8

    Lab 8: Grouping Sets and Pivoting Data

    Free

    In this lab, you will use grouping sets and the PIVOT operator to summarize data in the AdventureWorksLT database.

    Play Chapter Now
  6. 9

    Lab 9: Modifying Data

    Free

    In this lab, you will insert, update, and delete data in the AdventureWorksLT database.

    Play Chapter Now
  7. 10

    Lab 10: Programming with Transact-SQL

    Free

    In this lab, you will use some basic Transact-SQL programming logic to work with data in the AdventureWorksLT database.

    Play Chapter Now
  8. 11

    Lab 11: Error Handling and Transactions

    Free

    In this lab, you will use Transact-SQL to implement error handling and transactions in the AdventureWorksLT database.

    Play Chapter Now
The DataCamp Team HeadshotThe DataCamp Team

See More

What do other learners have to say?

Join over 13 million learners and start Querying with Transact-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.