⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 4 of about 4 for math (0.001 sec.)
IN Operator 11132
The IN operator checks containment of the left expression inside the collection on the right hand side (RHS). Supported collections on the RHS are tuples, lists, and maps, as well as subqueries that return a single column. The single-column ... n the RHS and the RHS has no NULL values, or NULL if the expression is not in the RHS and the RHS has NULL values. SELECT 'Math' IN ('CS', 'Math'); true SELECT 'English' IN ('CS', 'Math'); false SELECT 'Math' IN ('CS', 'Math', NULL); true SELECT 'Eng ... lish' IN ('CS', 'Math', NULL); NULL IN [val1, val2, ...] (List) The IN operator works on lists according to the semantics used in Python. Unlike ... r , the presence of NULL values on the right hand side of the expression does not make a difference in the result: SELECT 'Math' IN ['CS', 'Math', NULL]; true SELECT 'English' IN ['CS', 'Math', NULL]; false IN Map The IN operator works on maps accord ...
https://man.mtool.work/duckdb/2.0/sql/expressions/in.html
Subqueries 11021
Subqueries are parenthesized query expressions that appear as part of a larger, outer query. Subqueries are usually based on SELECT ... FROM , but in DuckDB other query constructs such as PIVOT can also appear as a subquery. Scalar Subquery ... iple_rows is set to false , in which case a row is selected randomly). Consider the following table: Grades grade course 7 Math 9 Math 8 CS CREATE TABLE grades (grade INTEGER, course VARCHAR); INSERT INTO grades VALUES (7, 'Math'), (9, 'Math'), (8, ' ... for which course this grade was obtained: SELECT course FROM grades WHERE grade = (SELECT min(grade) FROM grades); course Math ARRAY Subqueries Subqueries that return multiple values can be wrapped with ARRAY to collect all results in a list. SELECT ... we can use it to figure out if there are any grades present for a given course: SELECT EXISTS (FROM grades WHERE course = 'Math') AS math_grades_present; math_grades_present true SELECT EXISTS (FROM grades WHERE course = 'History') AS history_grades_ ...
https://man.mtool.work/duckdb/2.0/sql/expressions/subqueries.html
GROUPING SETS 7674
GROUPING SETS , ROLLUP and CUBE can be used in the GROUP BY clause to perform a grouping over multiple dimensions within the same query. Note that this syntax is not compatible with GROUP BY ALL . Examples Compute the average income along t ... ARCHAR, type VARCHAR); INSERT INTO students (course, type) VALUES ('CS', 'Bachelor'), ('CS', 'Bachelor'), ('CS', 'PhD'), ('Math', 'Masters'), ('CS', NULL), ('CS', NULL), ('Math', NULL); SELECT course, type, count(*) FROM students GROUP BY GROUPING SE ... TS ((course, type), course, type, ()); course type count_star() Math NULL 1 NULL NULL 7 CS PhD 1 CS Bachelor 2 Math Masters 1 CS NULL 2 Math NULL 2 CS NULL 5 NULL NULL 3 NULL Masters 1 NULL B ...
https://man.mtool.work/duckdb/2.0/sql/query_syntax/grouping_sets.html
PHP Client 7119
The DuckDB PHP client is a tertiary client and is maintained by a third-party. Client API for PHP, focused on performance. The DuckDB PHP client uses the official C API internally through FFI , achieving good benchmark results. This library ... 8631 | 0 | 0 | 1 | 30 | 0 | ... Requirements Linux, macOS or Windows. x64 platform. PHP >= 8.3. ext-ffi. Recommended ext-bcmath – Needed for big integers (> PHP_INT_MAX). ext-zend-opcache – For better performance. Type Support From version 1.2.0 on t ... int DUCKDB_TYPE_USMALLINT USMALLINT int DUCKDB_TYPE_UINTEGER UINTEGER int DUCKDB_TYPE_UBIGINT UBIGINT Saturio\DuckDB\Type\Math\LongInteger DUCKDB_TYPE_FLOAT FLOAT float DUCKDB_TYPE_DOUBLE DOUBLE float DUCKDB_TYPE_TIMESTAMP TIMESTAMP Saturio\DuckDB\T ... uckDB\Type\Time DUCKDB_TYPE_INTERVAL INTERVAL Saturio\DuckDB\Type\Interval DUCKDB_TYPE_HUGEINT HUGEINT Saturio\DuckDB\Type\Math\LongInteger DUCKDB_TYPE_UHUGEINT UHUGEINT Saturio\DuckDB\Type\Math\LongInteger DUCKDB_TYPE_VARCHAR VARCHAR string DUCKDB_T ...
https://man.mtool.work/duckdb/2.0/clients/tertiary_clients/php.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work