CAST: Cast a value as a certain type CAST(123456 as CHAR)
CONVERT: Cast a value as a certain type CONVERT(123456, CHAR)
JSON_CONTAINS(target, candidate[, path]): Whether JSON document contains specific object at path
HEX(): Hexadecimal representation of decimal or string value
AES_ENCRYPT(str,key_str): Encrypt using AES
AES_DECRYPT(crypt_str,key_str): Decrypt using AES
GROUP_CONCAT(): Return a concatenated string, GROUP_CONCAT(t2.name ORDER BY t2.project_step SEPARATOR '@@@')
-- 以下 GROUP_CONCAT 查询会得到: A;B;CUSE testdb;CREATETABLE t (
v CHAR);INSERTINTO t(v)VALUES('A'),('B'),('C'),('B');SELECT
GROUP_CONCAT(DISTINCT v ORDERBY v ASC SEPARATOR ';')FROM
t;