I seem to be unable to write an SQL query, which computes the cross-product between a table column and a set of given input values.
Something along the lines of:
WITH {1,2} as Input
Select *
From mTable.column, Input
With mTable.column containing the values 3 and 4, it should return:
1,3
1,4
2,3
2,4
Is there any way to achieve this?