原创 9. Functions and Operators

Chapter 9. Functions and Operators 第九章.函數和操作符 PostgreSQL provides a large number of functions and operators for the bui

原创 9.4. String Functions and Operators

9.4. String Functions and Operators 9.4.字符串函數和運算符 This section describes functions and operators for examining and mani

原创 9.7.1. LIKE

9.7.1. LIKE 9.7.1. LIKE   string LIKE pattern [ESCAPE escape-character] string NOT LIKE pattern [ESCAPE escape-charac

原创 8.16.2. Constructing Composite Values

8.16.2. Constructing Composite Values 8.16.2.構建複合值 To write a composite value as a literal constant, enclose the field

原创 9.3. Mathematical Functions and Operators

9.3. Mathematical Functions and Operators 9.3.數學函數和運算符 Mathematical operators are provided for many PostgreSQL types. F

原创 9.6. Bit String Functions and Operators

9.6. Bit String Functions and Operators 9.6.位串函數和操作符 This section describes functions and operators for examining and m

原创 8.16.6. Composite Type Input and Output Syntax

8.16.6. Composite Type Input and Output Syntax 8.16.6.複合類型的輸入及輸出語法 The external text representation of a composite valu

原创 8.16. Composite Types

8.16. Composite Types 8.16.複合類型 composite type represents the structure of a row or record; it is essentially just a li

原创 9.2. Comparison Functions and Operators

9.2. Comparison Functions and Operators 9.2.比較函數和運算符 The usual comparison operators are available, as shown in Table 9.

原创 8.16.3. Accessing Composite Types

8.16.3. Accessing Composite Types 8.16.3.訪問複合類型 To access a field of a composite column, one writes a dot and the field

原创 8.16.1. Declaration of Composite Types

8.16.1. Declaration of Composite Types 8.16.1.聲明覆合類型 Here are two simple examples of defining composite types: 以下爲兩個定義複

原创 8.15.5. Searching in Arrays

8.15.5. Searching in Arrays 8.15.5.檢索數組 To search for a value in an array, each value must be checked. This can be done

原创 8.15.3. Accessing Arrays

8.15.3. Accessing Arrays 8.15.3.訪問數組 Now, we can run some queries on the table. First, we show how to access a single e

原创 8.15.6. Array Input and Output Syntax

8.15.6. Array Input and Output Syntax 8.15.6.數組輸入和輸出語法 The external text representation of an array value consists of i

原创 8.17.2. Examples

8.17.2. Examples 8.17.2.示例   CREATE TABLE reservation (room int, during tsrange); INSERT INTO reservation VALUES (1108,