Get MySQL version by SQL statement

Is there a way to get the version of a MySQL server by a SQL statement?

If you want to get the version of your MySQL server, you can use this SQL statement:

SELECT VERSION();