Version 10.6 Derby Reference Manual
ii
WHERE clause....................................................................................................84
WHERE CURRENT OF clause...........................................................................85
SQL expressions......................................................................................................85
SelectExpression................................................................................................. 88
TableExpression.................................................................................................. 91
NEXT VALUE FOR expression...........................................................................92
VALUES expression............................................................................................93
Expression precedence.......................................................................................94
Boolean expressions........................................................................................... 94
Dynamic parameters........................................................................................... 97
JOIN operations....................................................................................................... 99
INNER JOIN operation......................................................................................100
LEFT OUTER JOIN operation...........................................................................101
RIGHT OUTER JOIN operation........................................................................ 102
CROSS JOIN operation.................................................................................... 103
NATURAL JOIN operation................................................................................ 104
SQL queries............................................................................................................104
Query................................................................................................................. 104
ScalarSubquery................................................................................................. 106
TableSubquery...................................................................................................107
Built-in functions....................................................................................................108
Standard built-in functions.................................................................................108
Aggregates (set functions)................................................................................ 109
ABS or ABSVAL function..................................................................................110
ACOS function...................................................................................................110
ASIN function.....................................................................................................110
ATAN function................................................................................................... 111
ATAN2 function................................................................................................. 111
AVG function..................................................................................................... 111
BIGINT function.................................................................................................112
CASE expressions.............................................................................................113
CAST function................................................................................................... 113
CEIL or CEILING function.................................................................................116
CHAR function...................................................................................................116
COALESCE function......................................................................................... 118
Concatenation operator.....................................................................................119
COS function..................................................................................................... 120
COSH function...................................................................................................120
COT function..................................................................................................... 120
COUNT function................................................................................................ 120
COUNT(*) function............................................................................................ 121
CURRENT DATE function.................................................................................121
CURRENT_DATE function................................................................................121
CURRENT ISOLATION function.......................................................................121
CURRENT_ROLE function................................................................................121
CURRENT SCHEMA function...........................................................................122
CURRENT TIME function..................................................................................122
CURRENT_TIME function.................................................................................122
CURRENT TIMESTAMP function..................................................................... 122
CURRENT_TIMESTAMP function.....................................................................123
CURRENT_USER function................................................................................123
DATE function................................................................................................... 123
DAY function......................................................................................................124
DEGREES function........................................................................................... 124
DOUBLE function.............................................................................................. 124
EXP function......................................................................................................125
- 1
- 2
前往页