Perhaps it's too complicated to write the problem so I will give you all the picture on how I want the final table looks like:
As you can see there are 3 tables, 1st and 2nd table are similar (have username and email) but unfortunately not all username have email but at least I can fix some username and be able to join all the username without email in one table (like in 3rd table) How can I do this in sql or using query? I tried UNION but it repeat the "a" and "b".