SQL Server First Value Window Function with examples