There are two tables:
| A | B | C |
and
| AА | D | E | F |
I need to build such a query that will give at the output
| A | B | C | null | null | null | | AA | null | null | D | E | F |
Those. add two tables into one, and the fields A and AA should be added in one column, since there are different data of the same format.
I am trying to implement this JOIN, but it turns out only this way:
| A | B | C | AA | D | E |
Tell me an example of implementation, and is it possible within the framework of MYSQL in general? ..
Update
An important point: the number of columns in the tables is different, and when generating the result, the WHERE condition A> = value1 and WHERE AA> = value1 for each table will be used, respectively.