Here is another popular lab from Hands-On-Lab library: Using Query and Table Hints in SQL Server.
Many administrators address performance problems solely by tuning system-level server performance: for example, memory size, type of file system, number and type of processors, and so on. However, many performance problems cannot be resolved this way. They are better addressed by also analyzing the application queries and updates that the application submits to the database, and how these queries and updates interact with the data contained in the database and the database schema. In the first and second exercise of this lab, we will look into different query hints available in SQL Server. In the third exercise, we will look at table hints.
Exercise 1: Query Hints Part 1
Exercise 2: Query Hints Part 2
Exercise 3: Table Hints
SQLMaestros Hands-On-Labs enables the practical way of learning. Each lab document consists of multiple exercises and each exercise consists of multiple tasks. Apart from step-by-step instructions, the HOL document contains images, explanations, observations, notes, tips & tricks to ensure a great learning experience. With each lab, you can practice a specific concept step-by-step. With our HOL documents, you will get hands-on with hundreds of topics in SQL Server & Microsoft Data Platform. Learn More.