Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.51 KB

query-expressions-entity-sql.md

File metadata and controls

21 lines (14 loc) · 1.51 KB
description title ms.date ms.assetid
Learn more about: Query Expressions (Entity SQL)
Query Expressions (Entity SQL)
03/30/2017
c36f327b-e230-48d4-bbd5-78dc6478c447

Query Expressions (Entity SQL)

A query expression combines many different query operators into a single syntax. Entity SQL provides various kinds of expressions, including the following: literals, parameters, variables, operators, functions, set operators, and so on. For more information, see Entity SQL Reference.

Clauses

A query expression is composed of a series of clauses that apply successive operations to a collection of objects. They are based on the same clauses found in standard a SQL select statement: SELECT, FROM, WHERE, GROUP BY, HAVING, and ORDER BY.

Scope

Names defined in the FROM clause are introduced into the FROM scope in order of appearance, left to right. In the JOIN list, expressions can refer to names defined earlier in the list. Public properties of elements identified in the FROM clause are not added to the FROM scope: They must be always referenced through the alias-qualified name. Normally, all parts of the select expression are considered within the FROM scope.

See also