UNION joins two results and remove duplicates, while UNION ALL does not remove duplicates. UNION also sort the final output.
UNION
UNION ALL
W
You can do something like this.
Select distinct name from (SELECT r.name FROM outsider_role_mapping orm1 union all SELECT r.name FROM user_role_mapping orm2 ) tmp;