Open gm5000136 opened 9 years ago
Find them with this (in BBPM):
select a.AppealIdentifier, Count(p.Team) as TeamCount from DIM_Appeal a left outer join DIM_Team p on p.TeamDimID = a.TeamDimID group by a.AppealIdentifier having Count(p.Team) <>1
Find them with this (in BBPM):
select a.AppealIdentifier, Count(p.Team) as TeamCount from DIM_Appeal a left outer join DIM_Team p on p.TeamDimID = a.TeamDimID group by a.AppealIdentifier having Count(p.Team) <>1