Querying data from different tables
5 answers
You are doing a cross join - effectively each row in TableB versus one row in TableA. If you also select something from TableB, it will be more obvious :) The fact that you are not currently selecting anything from TableB does not stop pairs (TableA, TableB) as a result of the union from being projected.
+6
source to share