Start free

Browse › T-SQL Database Query

Combining Data Using Unions in Transact-SQL

Guided

Part of T-SQL Database Query Topic: Data Science

Access

StationX Infrastructure Labs — 3 attempts per lab

🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab

Already have access? Sign in.

New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.

What you'll do

In this challenge, you will write several Transact-SQL queries to combine data by using the UNION set operator.

  1. Launch Microsoft SQL Server Management Studio (SSMS)
  2. Develop a query that combines data from two result sets
  3. Develop more specific queries that will combine result sets by removing and retaining duplicates
  4. Explore queries that will sort the combined result sets

Note: Once you begin a challenge you will not be able to pause, save, or return to your progress. Please ensure you have set aside enough time to complete the challenge before you start.

  • ⏱ About 30 minutes