How to join two literal tables together in T-SQL
In this answer it is shown how a literal table can be created. However, I want to perform a full outer join or inner join on two literal tables, but I cannot figure out the syntax of the literal table after the join. I have tried several variations on this: SELECT * FROM (VALUES (1),… Read More How to join two literal tables together in T-SQL