Skip to content

Commit 5b5c187

Browse files
committed
Fix some grammar
1 parent 3fd79c7 commit 5b5c187

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ ORDER BY order_by_expression
7070

7171
#### window_name
7272

73-
Is 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.
73+
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.
7474

7575
#### reference_window_name
7676

77-
Is the name of the window being referenced by the current window. The referenced window must be among the windows defined in the WINDOW clause.
77+
Name of the window being referenced by the current window. The referenced window must be among the windows defined in the WINDOW clause.
7878

7979
The other arguments are:
8080

@@ -97,7 +97,7 @@ When a query uses multiple windows, one named window can reference another named
9797

9898
Based on the order in which the windows are defined in the window clause, forward and backward window references are permitted. In other words, a window may use any other window defined in the `<window_expression>` that it is part of, as `reference_window_name`, irrespective of the order of which they are defined. Cyclic references and using multiple window references in a single window are not allowed.
9999

100-
The scope of the new window_name of a defined window contained in a `<window_expression>` consists of any window definition that are part of the `<window_expression>`, together with the SELECT clause of the `<query_specification>` or `<SELECT statement>` that contains the window clause. If the `<window_expression>` is contained in a `<query_specification>` that is part of `<query_expression>` which is a simple table query, then the scope of the new window_name also includes the `<order_by_expression>`, if any, of that `<query_expression>`.
100+
The scope of the new window_name of a defined window contained in a `<window_expression>` consists of any window definitions that are part of the `<window_expression>`, together with the SELECT clause of the `<query_specification>` or `<SELECT statement>` that contains the window clause. If the `<window_expression>` is contained in a `<query_specification>` that is part of `<query_expression>` which is a simple table query, then the scope of the new window_name also includes the `<order_by_expression>`, if any, of that `<query_expression>`.
101101

102102
The restrictions for usage of window specifications in the OVER clause with the aggregate and analytic functions based on their semantics are applicable to WINDOW clause.
103103

0 commit comments

Comments
 (0)