You should create a microflow for that. Retrieve all objects of the first entity and iterate over them comparing them with the other entity. When you have a match set a reference with both objects to the helper entity. Then you could use that helper entity to show the results.
Did you try to compare it in a microflow before? If you specifically want to show two tables, you can change the lists in the MF before the page, commit it and retrieve it as data grid/list view on the page self..
how does this work then?