After running a query, MySQL returns the number of rows and gives time in the output that shows how much it took for running that query. As for example, if we run the following query
mysql> create table e1(id int); Query OK, 0 rows affected (0.23 sec)
It is showing the time (0.23 sec).