30.4.5.21 The version_minor() Function
 
 
 
          This function returns the minor version of the MySQL server.
            A TINYINT UNSIGNED value.
 
mysql> SELECT VERSION(), sys.version_minor();
+-----------+---------------------+
| VERSION() | sys.version_minor() |
+-----------+---------------------+
| 8.4.2     |                   4 |
+-----------+---------------------+