Usually
Sudo mysql
Use itflow (assuming that's the database name)
.
And then the select:
Select config_current_databaseversionwhere company_id = 1
Or
Select config_current_database_version where *
Or
Select * and manually find the config_current_database_version field
.
Note: The forum formatting might have messed this up as I'm on mobile. The field you want is config_current_database_version