SQL query:

Edit
SELECT * FROM . WHERE `db_name` = 'phpmyadmin' AND `version` = '1' ORDER BY `version` DESC LIMIT 1
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE `db_name` = 'phpmyadmin' AND `version` = '1' ORDER BY `version` DESC LIM' at line 1
Undefined index: tracking