I am working with databases and I need to do something like this:
TABLE 1
| name | id |
|---|---|
| abc | 34 |
| def | 35 |
| ghi | 36 |
TABLE 2
| name2 | id2 |
|---|---|
| jkl | 34 |
| mno | 35 |
| pqr | 36 |
RESULT TABLE
| jkl | mno | pqr | |
|---|---|---|---|
| abc | |||
| def | |||
| ghi |
Is this possible? To be more clear, I have two DB, and I need the data of one as column and the data of another as rows