In this challenge, you will write several Transact-SQL queries by using sorting and limiting. First, you will launch Microsoft SQL Server Management Studio, and then you will develop queries that return sorted data from a table by using the ORDER BY clause. Next, you will develop more specific queries which use expressions and aliases for sorting. Finally, you will explore queries that limit the sorted results by using TOP, OFFSET and FETCH. 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.
Learning Objectives
In this challenge, you will write several Transact-SQL queries by using sorting and limiting. First, you will launch Microsoft SQL Server Management Studio, and then you will develop queries that return sorted data from a table by using the ORDER BY clause. Next, you will develop more specific queries which use expressions and aliases for sorting. Finally, you will explore queries that limit the sorted results by using TOP, OFFSET and FETCH. 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.