class GroupDao extends BaseDao {

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

}