I have two tables say A and B .
table A:
+------------+
| manager_id |
+------------+
| 100 |
| 102 |
| 103 |
| 124 |
| 149 |
| 101 |
| 201 |
| 205 |
+------------+
Table:B
+------------+
| first_name |
+------------+
| Steven |
| Lex |
| Alexander |
| Kevin |
| Eleni |
| Neena |
| Michael |
| Shelley |
+------------+
i want to combine both the tables.the output tables should look like ..
the 1st row of table a should be combine with 1st row of table b. the 2nd row of table a should be combine with 2nd row of table b.and so on.....
OUTPUT:
+------------+-------------+
| manager_id | first_name |
+------------+-------------+
| 100 | steven |
| 101 | lex |
| 102 | alexander |
| 103 | kevin |
| 124 | eleni |
| 149 | neena |
| 201 | michael |
| 205 | shelley |
+------------+-------------+
I have tried different joins and union but not getting the required output.thanks in advance
note:these tables are the results of a query,so cant add any extra column.