mysql join query to select the status from multiple tables code example
Example: mysql join two tables
SELECT user_id, user_name
FROM users
UNION
SELECT organization_id, organization_name
FROM organizations
SELECT user_id, user_name
FROM users
UNION
SELECT organization_id, organization_name
FROM organizations