I wanted to fetch only the value from status variables. Suppose the query is
show status where Variable_name='Aborted_clients'
It returns
+-----------------+-------+
| Variable_name | Value |
+-----------------+-------+
| Aborted_clients | 4 |
+-----------------+-------+
From here I need to fetch only the value of column "Value". Is there any way. When I am trying to this query as sub query, it is throwing error.
I am using MySQL version 5.0.24. And OS is windows