I have two tables that look like these:
I would like to create a new table that combines these tables and looks like this:
Can SQL combine tables like these? If so, how?
IT Knowledge Exchange author Denny Cherry responds: There is no reliable way of joining these values because they don't relate to each other. You could, I suppose, join them based on row numbers, but if the rows change order, the joined rows would be different, so that would be very unreliable. The tables need to be redesigned with some sort of relationship between the values.
This was first published in December 2013