Skip to main content
Free course

Querying with Transact-SQL

Start Free Course
58 Exercises45,037 Learners3600 XP

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. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

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.

  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 Headshot

The DataCamp Team

See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA

Join over 9 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. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).