⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 1.3 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 10 of about 21 for comparison (0.003 sec.)
Comparisons – DuckDB 11923
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... es Numeric Struct Text Time Timestamp Time Zones Union Typecasting Expressions Overview CASE Expression Casting Collations Comparisons IN Operator Logical Operators Star Expression Subqueries TRY Functions Overview Aggregate Functions Array Functions Bitst ... rview Storage Versions and Format Execution Format Pivot Sitemap Live Demo Documentation / SQL / Expressions Copy Markdown Comparisons Comparison Operators The table below shows the standard comparison operators. Whenever either of the input arguments is N ... ULL , the output of the comparison is NULL . Operator Description Example Result < less than 2 < 3 true > greater than 2 > 3 false <= less than or equal to 2 ...
https://man.mtool.work/duckdb/1.3/sql/expressions/comparison_operators.html
Caveats – DuckDB 11704
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... es Numeric Struct Text Time Timestamp Time Zones Union Typecasting Expressions Overview CASE Expression Casting Collations Comparisons IN Operator Logical Operators Star Expression Subqueries TRY Functions Overview Aggregate Functions Array Functions Bitst ... nd Format Execution Format Pivot Sitemap Live Demo Documentation / Data Import / JSON Files Copy Markdown Caveats Equality Comparison Warning Currently, equality comparison of JSON files can differ based on the context. In some cases, it is based on raw te ... xt comparison, while in other cases, it uses logical content comparison. The following query returns true for all fields: SELECT a != b ...
https://man.mtool.work/duckdb/1.3/data/json/caveats.html
Enum Data Type – DuckDB 10943
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... es Numeric Struct Text Time Timestamp Time Zones Union Typecasting Expressions Overview CASE Expression Casting Collations Comparisons IN Operator Logical Operators Star Expression Subqueries TRY Functions Overview Aggregate Functions Array Functions Bitst ... nes' , 'quackity-quack' ); The string sad is cast to the type mood , returning a numerical reference value. This makes the comparison a numerical comparison instead of a string comparison. SELECT * FROM person WHERE current_mood = 'sad' ; name current_mood ... necessary. This characteristic allows for enum columns to be used in any VARCHAR function. In addition, it also allows for comparisons between different enum columns, or an enum and a VARCHAR column. For example: Regexp_matches is a function that takes a V ...
https://man.mtool.work/duckdb/1.3/sql/data_types/enum.html
Subqueries – DuckDB 10740
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... es Numeric Struct Text Time Timestamp Time Zones Union Typecasting Expressions Overview CASE Expression Casting Collations Comparisons IN Operator Logical Operators Star Expression Subqueries TRY Functions Overview Aggregate Functions Array Functions Bitst ... his grade was obtained: SELECT course FROM grades WHERE grade = ( SELECT min ( grade ) FROM grades ); course Math Subquery Comparisons: ALL , ANY and SOME In the section on scalar subqueries , a scalar expression was compared directly to a subquery using t ... he equality comparison operator ( = ). Such direct comparisons only make sense with scalar subqueries. Scalar expressions can still be compared t ...
https://man.mtool.work/duckdb/1.3/sql/expressions/subqueries.html
List Type – DuckDB 10198
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... es Numeric Struct Text Time Timestamp Time Zones Union Typecasting Expressions Overview CASE Expression Casting Collations Comparisons IN Operator Logical Operators Star Expression Subqueries TRY Functions Overview Aggregate Functions Array Functions Bitst ... e LIST terminology, but some array_ functions are provided for PostgreSQL compatibility. See the data types overview for a comparison between nested data types. For storing fixed-length lists, DuckDB uses the ARRAY type . Creating Lists Lists can be create ... ['a', 'b', 'c'][:2] ['a', 'b'] SELECT ['a', 'b', 'c'][-2:] ['b', 'c'] SELECT list_slice(['a', 'b', 'c'], 2, 3) ['b', 'c'] Comparison and Ordering The LIST type can be compared using all the comparison operators . These comparisons can be used in logical e ...
https://man.mtool.work/duckdb/1.3/sql/data_types/list.html
Map Type – DuckDB 10080
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... es Numeric Struct Text Time Timestamp Time Zones Union Typecasting Expressions Overview CASE Expression Casting Collations Comparisons IN Operator Logical Operators Star Expression Subqueries TRY Functions Overview Aggregate Functions Array Functions Bitst ... . In contrast, STRUCT s must have string keys, but each value may have a different type. See the data types overview for a comparison between nested data types. To construct a MAP , use the bracket syntax preceded by the MAP keyword. Creating Maps A map wi ... SELECT map_extract ( MAP { 'key1' : 5 , 'key2' : 43 }, 'key1' ); [5] SELECT MAP { 'key1' : 5 , 'key2' : 43 }[ 'key3' ]; [] Comparison Operators Nested types can be compared using all the comparison operators . These comparisons can be used in logical expre ...
https://man.mtool.work/duckdb/1.3/sql/data_types/map.html
Collations – DuckDB 8575
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... es Numeric Struct Text Time Timestamp Time Zones Union Typecasting Expressions Overview CASE Expression Casting Collations Comparisons IN Operator Logical Operators Star Expression Subqueries TRY Functions Overview Aggregate Functions Array Functions Bitst ... son, different collations are supported. The user must choose which collation they want to use when performing sorting and comparison operations. By default, the BINARY collation is used. That means that strings are ordered and compared based only on their ... s not make much sense for special unicode characters. It is, however, by far the fastest method of performing ordering and comparisons. Hence it is recommended to stick with the BINARY collation unless required otherwise. The BINARY collation is also avail ...
https://man.mtool.work/duckdb/1.3/sql/expressions/collations.html
NULL Values – DuckDB 8355
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... es Numeric Struct Text Time Timestamp Time Zones Union Typecasting Expressions Overview CASE Expression Casting Collations Comparisons IN Operator Logical Operators Star Expression Subqueries TRY Functions Overview Aggregate Functions Array Functions Bitst ... integers VALUES ( NULL ); NULL values have special semantics in many parts of the query as well as in many functions: Any comparison with a NULL value returns NULL , including NULL = NULL . You can use IS NOT DISTINCT FROM to perform an equality compariso ... T max ( i ) FROM integers ; 10 関連キーワード values integers coalesce functions special used argument ifnull default many comparison Functions arguments first behavior details documentation something Aggregate aggregate Documentation Types Copy Markdown V ...
https://man.mtool.work/duckdb/1.3/sql/data_types/nulls.html
Struct Data Type – DuckDB 8135
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... es Numeric Struct Text Time Timestamp Time Zones Union Typecasting Expressions Overview CASE Expression Casting Collations Comparisons IN Operator Logical Operators Star Expression Subqueries TRY Functions Overview Aggregate Functions Array Functions Bitst ... ROW data type. See an example below and the STRUCT functions documentation for details. See the data types overview for a comparison between nested data types. Creating Structs Structs can be created using the struct_pack(name := expr, ...) function, the ... lowing query returns the same result as the previous one: SELECT ( x , x + 1 , y ) AS s FROM ( SELECT 1 AS x , 'a' AS y ); Comparison and Ordering The STRUCT type can be compared using all the comparison operators . These comparisons can be used in logical ...
https://man.mtool.work/duckdb/1.3/sql/data_types/struct.html
Union Type – DuckDB 8033
This page is for DuckDB 1.3, which is outdated. Switch to the current version . Search Shortcut cmd + k | ctrl + k Installation Documentation Getting Started Connect Overview Concurrency Data Import Overview Data Sources CSV Files Overview ... es Numeric Struct Text Time Timestamp Time Zones Union Typecasting Expressions Overview CASE Expression Casting Collations Comparisons IN Operator Logical Operators Star Expression Subqueries TRY Functions Overview Aggregate Functions Array Functions Bitst ... b B, c C) UNION(a A, b B) UNION(a A, b B) UNION(a A, b C) if B can't be implicitly cast to C UNION(A, B, D) UNION(A, B, C) Comparison and Sorting Since UNION types are implemented on top of STRUCT types internally, they can be used with all the comparison ... uckDB Home Code of Conduct Trademark Use Blog In this article Example Union Casts Casting to Unions Casting between Unions Comparison and Sorting Functions ...
https://man.mtool.work/duckdb/1.3/sql/data_types/union.html
PREV 1 2 3 NEXT
DuckDB 1.3 Documentation / man.mtool.work