⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 3 of about 3 for satisfy (0.001 sec.)
FILTER Clause 11924
The FILTER clause may optionally follow an aggregate function in a SELECT statement. This will filter the rows of data that are fed into the aggregate function in the same way that a WHERE clause filters rows, but localized to the specific ... ply re-orient the data into columns rather than re-aggregate it. For list and array_agg , FILTER excludes rows that do not satisfy its condition, whereas a CASE WHEN expression can contribute NULL placeholders for those rows. However, FILTER does not au ... tomatically remove NULL values from rows that do satisfy the condition. To omit them, include an explicit condition on the aggregated value, such as list(x) FILTER (WHERE x IS NOT ... ) FILTER (i % 2 = 1) AS odds FROM generate_series(1, 10) tbl(i); total_rows lte_five odds 10 5 5 Simply counting rows that satisfy a condition can also be achieved without the FILTER clause, using the boolean sum aggregate function, e.g., sum(i <= 5) . ...
https://man.mtool.work/duckdb/2.0/sql/query_syntax/filter.html
UPDATE Statement 8129
The UPDATE statement modifies the values of rows in a table. Examples For every row where i is NULL , set the value to 0 instead: UPDATE tbl SET i = 0 WHERE i IS NULL; Set all values of i to 1 and all values of j to 2: UPDATE tbl SET i = 1, ... j = 2; Syntax UPDATE changes the values of the specified columns in all rows that satisfy the condition. Only the columns to be modified need be mentioned in the SET clause; columns not explicitly modified retain ...
https://man.mtool.work/duckdb/2.0/sql/statements/update.html
Constraints 7813
In SQL, constraints can be specified for tables. Constraints enforce certain properties over data that is inserted into a table. Constraints can be specified along with the schema of the table as part of the CREATE TABLE statement . In cert ... s. Syntax Check Constraint Check constraints allow you to specify an arbitrary Boolean expression. Any columns that do not satisfy this expression violate the constraint. For example, we could enforce that the name column does not contain spaces using t ...
https://man.mtool.work/duckdb/2.0/sql/constraints.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work