File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
content/en/ddsql_reference Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,13 @@ WHERE delivery_date IS NULL {{< /code-block >}}
110
110
FROM customers
111
111
LIMIT 10 {{< /code-block >}}
112
112
113
+ ` OFFSET `
114
+ : Skips a specified number of records before starting to return records from the query.
115
+
116
+ {{< code-block lang="sql" >}}SELECT *
117
+ FROM employees
118
+ OFFSET 20 {{< /code-block >}}
119
+
113
120
` ORDER BY `
114
121
: Sorts the result set of a query by one or more columns. Includes ASC, DESC for sorting order.
115
122
@@ -229,6 +236,7 @@ The following SQL functions are supported. For Window function, see the separate
229
236
| ` CEIL(numeric n) ` | numeric | Returns the value rounded up to the nearest integer. |
230
237
| ` FLOOR(numeric n) ` | numeric | Returns the value rounded down to the nearest integer. |
231
238
| ` ROUND(numeric n) ` | numeric | Returns the value rounded to the nearest integer. |
239
+ | ` POWER(numeric base, numeric exponent) ` | numeric | Returns the value of base raised to the power of exponent. |
232
240
| ` LOWER(string s) ` | string | Returns the string as lowercase. |
233
241
| ` UPPER(string s) ` | string | Returns the string as uppercase. |
234
242
| ` ABS(numeric n) ` | numeric | Returns the absolute value. |
@@ -316,6 +324,12 @@ SELECT ROUND(price) AS rounded_price
316
324
FROM products
317
325
{{< /code-block >}}
318
326
327
+ ### ` POWER `
328
+ {{< code-block lang="sql" >}}
329
+ SELECT POWER(response_time, 2) AS squared_response_time
330
+ FROM logs
331
+ {{< /code-block >}}
332
+
319
333
### ` LOWER `
320
334
{{< code-block lang="sql" >}}
321
335
SELECT LOWER(customer_name) AS lowercase_name
You can’t perform that action at this time.
0 commit comments