Kindle Notes & Highlights
you specify the CLUSTERED keyword. Either way,
execution of the sample query against cold cache highlighted.
Inline table-valued functions Suppose you need a reusable table expression like a view, but you also need to be able to pass input parameters to the table expression. Views do not support input parameters. For this purpose, SQL Server provides you with inline table-valued functions (TVFs). As an example, the following code creates an inline TVF called GetTopOrders that accepts as inputs a customer ID and a number and returns the requested number of most-recent orders for the input customer:
CROSS APPLY allows you to apply a correlated table expression, you’re not limited to returning only one column.

