Spatial data types. See Spatial Data Types.
-
String and text data types::
-
Decimal values with a precision greater than 18 in expression operators, with the exception of the following:
Arithmetic operators, see: Section 2.12.2, “Arithmetic Operators”.
ENUM
type columns as part of aUNION
,EXCEPT
,EXCEPT ALL
,INTERSECT
, orINTERSECT ALL
SELECT
list or as aJOIN
key, except when used inside a supported expression.ENUM
type columns as part of a non-top levelUNION ALL
SELECT
list or as aJOIN
key, except when used inside a supported expression.-
ENUM
type support is limited to:Comparison with string or numeric constants, and other numeric, non-temporal expressions (numeric columns, constants, and functions with a numeric result).
Comparison operators (<, <=, <=>, =, >=, >, and
BETWEEN
) with numeric arguments.Comparison operators (=, <=>, and <>) with string constants.
enum_col
IS [NOT] {NULL|TRUE|FALSE}The
IN()
function in combination with numeric arguments (constants, functions, or columns) and string constants.COUNT()
,SUM()
, andAVG()
aggregation functions onENUM
columns. The functions operate on the numeric index value, not the associated string value.CAST(
. The numeric index value is cast, not the associated string value.enum_col
AS {[N]CHAR [(X)]|SIGNED|UNSIGNED|FLOAT|DOUBLE|DECIMAL [(M,N)]})CAST(
is supported only in theenum_col
) AS {[N]CHAR}SELECT
list and when it is not nested in another expression.
Temporal types are supported only with strict SQL mode. See Strict SQL Mode.