I have the following scenario for a People search solution in SPO. The list needs to be updated with Eduction information from another list.
- SharePoint List A: Employees
This list contains employee information with columns: EmpID, Name, Email and Phone and is used to search employee information.

2. SharePoint List B: Education
This list contains education information from each employee. Due the structure of the external HR system multiple records will be created for each degree obtained. The employee id may appear multiple times in the list, as an example below:

Goal:
I would like to setup a flow by using the action Get Items and perform a for each loop to get the items from List B (Column Education) and synchronise them with action Update Item to the “Education” column of List A. Each value obtained needs to be separated with a dash.
List A: populated with Education information from list B

I have been thinking for a while but it is difficult to find a good solution to collect items in an array and update each item with the values from the Education column from List B.
So far; my flow is as follows:
1) Manually Trigger
2) Get Items from List A
3) Get Items from List B
4) Set Variable (this is where I am stuck on how to proceed further)

Anyone can give some guidance to accomplish this?
Thanks in advance for your help!