Element | Required or Optional | Description |
FromClause | Required | Specifies the input stream for the query. See Specifying input streams in from clauses. A from clause can also specify which items from the input stream the query should operate on. See Adding window definitions to from and join clauses. If a second from clause appears the correlator performs a cross-join to combine items from the two streams. See Defining cross-joins with two from clauses. |
JoinClause | Optional | Specifies a second stream for the query to operate on. The correlator performs an equi-join to combine items from the two streams. See Defining equi-joins with the join clause. A join clause can also specify which items from the input stream the query should operate on. See Adding window definitions to from and join clauses. |
WhereClause | Optional | Applies a filtering criterion to the items in the window or the items produced by the join operation. See Filtering items before projection. |
ProjectionDefinition | Required | Defines how the query generates output items. See Generating query results. |