Vuoi usare un CROSS JOIN : SELECT FormulaId, Formula, ContextId, [Name] FROM Formula CROSS JOIN Context