mysql take a column from different table in joins code example
Example: how to combine 2 tables in MySQL
create table yourTableName
(
select *from yourTableName1
)
UNION
(
select *from yourTableName2
);
create table yourTableName
(
select *from yourTableName1
)
UNION
(
select *from yourTableName2
);