Create a new query, switch to SQL view and paste the lines (one per query)
1. Select tblA.*, tblB.* FROM tblA Inner join tblB ON tblA.ERNO = tblB.ERNO And tblA.EID = tblB.EID
2. Select tblB.* FROM tblB LEFT join tblA ON tblB.ERNO = tblA.ERNO And tblB.EID = tblA.EID WHERE nz(tblA.EID,"") = ""