class DataBaseDao extends BaseDao {

    public Long getCountByIdAndName(Long id, String dbname) throws SQLException {
        return this.getCount("SELECT count(1) FROM alldbs WHERE db_name='" + dbname + "' and id = " + id);
    }

}