ApsaraDB for OceanBase uses the data type precedence to specify the order in which data types are implicitly converted.
The following list provides the precedence from highest to lowest for converting data types in ApsaraDB for OceanBase.
DATETIME and INTERVAL data types
BINARY_DOUBLEdata typeBINARY_FLOATdata typeNUMBERdata typeCharacter data types
All the other built-in data types