Free course

Querying with Transact-SQL

Start Free Course
58 Exercises44,768 Learners
3600 XP

Create Your Free Account

GoogleLinkedInFacebook
or
By continuing you accept the Terms of Use and Privacy Policy. You also accept that you are aware that your data will be stored outside of the EU and that you are above the age of 16.

Loved by learners at thousands of companies


Course Description

This is the interactive component of Microsoft's <i><a href='https://www.edx.org/course/querying-transact-sql-microsoft-dat201x' target='_blank'>Querying with Transact-SQL</a></i> course on edX. Click <a href='https://www.edx.org/course/querying-transact-sql-microsoft-dat201x' target='_blank'>here</a> to return to the course.

  1. 1

    Lab 1: Introduction to Transact-SQL

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

    Lab 2: Querying Tables with SELECT

    In this lab, you will use SELECT queries to retrieve, sort, and filter data from the AdventureWorksLT database.
    Play Chapter Now
  3. 3

    Lab 3: Querying Multiple Tables with Joins

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

    Lab 4: Using Set Operators

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

    Lab 5: Using Functions and Aggregating Data

    In this lab, you will write queries that use functions to retrieve, aggregate, and group data from the AdventureWorksLT database.
    Play Chapter Now
  6. 6

    Lab 6: Using Subqueries and APPLY

    In this lab, you will use subqueries and the APPLY operator to retrieve data from the AdventureWorksLT database.
    Play Chapter Now
  7. 7

    Lab 7: Using Table Expressions

    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
  8. 8

    Lab 8: Grouping Sets and Pivoting Data

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

    Lab 9: Modifying Data

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

    Lab 10: Programming with Transact-SQL

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

    Lab 11: Error Handling and Transactions

    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