mysql> select count(hostname) from servers where hostname='dbs01'; +-----------------+ | count(hostname) | +-----------------+ | 1 | +-----------------+ 1 row in set (0.01 sec)