mysql join two tables with different columns code example
Example 1: mysql join two tables
SELECT user_id, user_name
FROM users
UNION
SELECT organization_id, organization_name
FROM organizations
Example 2: how to combine 2 tables in MySQL
create table yourTableName
(
select *from yourTableName1
)
UNION
(
select *from yourTableName2
);