version() 函数用于展获取 MySQL 服务端的版本。
示例:
mysql> select version(); +------------+ | version() | +------------+ | 5.6.40-log | +------------+