How to overcome the error on join union tables with other table

While we try to join between union tables on one side with other table on the other side, SELECT A.x,B.y FROM ([DataSet.Liad],[DataSet.Livne]) AS A INNER JOIN [DataSet.Names] AS B ON A.ID = B.ID L...