select g.group_name, g.group_id from groups g, group_member_map m where m.group_id = g.group_id and m.member_id = :id