Hi I am facing one issue, Post mysql 5.7 information_schema.GLOBAL_STATUS is deprecated instead of this they are using performance_schema.global_status.
So I would like to know depending on MySQL version how to query a particular table.
I know Select @@version gives me the version of mysql.
SELECT * FROM performance_schema.global_status
WHERE VARIABLE_VALUE REGEXP '^-?[0-9]+$'.
Thanks in advance.