I want to combine the results of multiple queries into one result. All queries return two fields, one of them being common, the name field. I want to merge the results using the name field.
Example:
First query result:
Value Name
----- ------
30 John
40 Nick
50 Liam
Second query result:
Value2 Name
----- ------
30 John
40 Nick
50 Joe
Third query result:
Value3 Name
----- ------
30 John
40 Tony
50 Jack
I want the result to look like this:
Value Value2 Value3 Name
..... ...... ..... ....
30 30 30 John
40 40 Nick
50 Liam
50 Joe
40 Tony
50 Jack