OSM-SQL
List goals for the primary alternative.
List suggested alternatives that satisfy all needs.
from satisfies, Goal, Primary Alternative
where Suggested Alternative = Primary Alternative and Goal = Need
select Suggested Alternative
from Suggested Alternative A
where not exists (select *
where not exists (select *
where N.Need = S.Need and
A.Suggested Alternative = S.Suggested Alternative))