You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `SELECT` clause specifies which entity attributes or other specified data must be retrieved. The clause returns all the requested values of objects which match the `SELECT` clause.
@@ -111,15 +115,15 @@ The following query returns all attributes of objects of `Sales.Request` that ar
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/domain-model/oql/oql-expressions.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,10 @@ An OQL expression is a query building block that returns a value or a list of va
20
20
21
21
OQL expressions can be used in `WHERE`, `SELECT`, `GROUP BY`, `UNION`, `HAVING`, and `ON` conditions of `JOIN` clauses. For more information, see [OQL clauses](/refguide/oql-clauses/).
22
22
23
+
The domain model used in the various examples is shown below:
Aggregations are functions that reduce a list of values from a retrieved column (or columns) into a single value. They can be used in the following ways:
@@ -171,7 +175,7 @@ SELECT MAX(Stock) as StockMax FROM Sales.Product
171
175
To return the name(s) of the product(s) with the highest stock level you have to use a subquery. The subquery returns the maximum stock number, which is then compared to each product's stock in the `WHERE` clause:
0 commit comments