Query
Select Clauses
from /* ... variable declarations ... */
where /* ... logical formula ... */
select /* ... expressions ... */from int x, int y
where x = 3 and y in [0 .. 2]
select x, y, x * y as product, "product: " + product as description
order by y descx
y
product
description
Query Predicates
query int getProduct(int x, int y) {
x = 3 and
y in [0 .. 2] and
result = x * y
}x
y
result
Last updated