Chcete použít CROSS JOIN : SELECT FormulaId, Formula, ContextId, [Name] FROM Formula CROSS JOIN Context