Skip to content

Commit 85938d0

Browse files
authored
Merge pull request #22221 from thesqlsith/patch-4
Update select-window-transact-sql.md
2 parents 5d88b10 + 083d11b commit 85938d0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/t-sql/queries/select-window-transact-sql.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ ORDER BY order_by_expression
7171

7272
#### window_name
7373

74-
Name of the name of the defined window specification. This name will be used by the window functions in the OVER clause to refer the window specification. Window names must follow the rules for identifiers.
74+
Name of the defined window specification. This name will be used by the window functions in the OVER clause to refer the window specification. Window names must follow the rules for identifiers.
7575

7676
#### reference_window_name
7777

@@ -104,7 +104,7 @@ The restrictions for usage of window specifications in the OVER clause with the
104104

105105
## Examples
106106

107-
### Use the window defined in WINDOW clause
107+
### A. Specifying a window defined in the window clause
108108

109109
The following example query shows uses a named window in the OVER clause.
110110

@@ -167,7 +167,7 @@ Here is the result set.
167167
| 7 | Campbell | 1573012.9383 | 98055 |
168168
| 8 | Tsoflias | 1421810.9242 | 98055 |
169169

170-
### Simple example reuses windows in OVER clause
170+
### B. Specifying a single window in multiple over clauses
171171

172172
The following example shows defining a window specification and using it multiple times in an OVER clause.
173173

@@ -231,7 +231,7 @@ Here is the result set.
231231
| 43664 | 773 | 1 | 14 | 1 | 8 | 1 | 4 |
232232
| 43664 | 778 | 1 | 14 | 1 | 8 | 1 | 4 |
233233

234-
### Defining common specification in WINDOW clause
234+
### C. Defining common specification in window clause
235235

236236
This example shows defining a common specification in a window and using it to define additional specifications in the OVER clause.
237237

@@ -283,7 +283,7 @@ Here is the result set.
283283
| 43664 | 714 | 1 | 11 | 1 | 6 |
284284
| 43664 | 716 | 1 | 12 | 1 | 6 |
285285

286-
### Forward and backward window references
286+
### D. Forward and backward window references
287287

288288
This example shows using named windows as forward and backward references when defining a new window in the WINDOW clause.
289289

0 commit comments

Comments
 (0)