Since there is no actual relation between education and work, you need to create one, which from your sample output it appears as though you are simply ordering by ID, so for each table you can apply ROW_NUMBER() to get a field to join on:

I have left EduName as NULL where there is no match, changing null values for - is probably a job best left to the presentation layer, similarly I have left empID and EmpName repeating in each row, as choosing whether or not to display this should again be a job for the presentation layer, I have however included a column at the end EmpName2 which shows how you could use the RowNumber column to determine whether or not to display the column name.