Are you talking about mysql cli? works great for me:
mysql> select count(*) from a; select count(*) from a; +----------+ | count(*) | +----------+ | 2050 | +----------+ 1 row in set (0.06 sec) +----------+ | count(*) | +----------+ | 2050 | +----------+ 1 row in set (0.00 sec)
if you are talking about a specific language, it depends on your mysql library. for example, the mysql PHP library does not support this. however, the mysqli library does if you use multi_query ().
source share