Get version using SQL query
Returns database version
SELECT 
    VERSION()
Equivalent of the query above is to use system variable
@@VERSION
SELECT 
    @@VERSION
by Valeri Tandilashvili
4 years ago
MySQL
Version
1
Pro tip: use ```triple backticks around text``` to write in code fences