Syntax:
CAST(expr AS type)

The CAST() function takes an expression of any type and produces a
result value of the specified type, similar to CONVERT(). For more
information, see the description of CONVERT().

URL: https://dev.mysql.com/doc/refman/5.7/en/cast-functions.html

