Filtering records in one table by existing records in another table

I have two tables, Companies and Projects. I have another table, ProjectCompanies, that lists all companies that are connected to a project.

In the page builder, in the Projects Details page I’ve added a component with several tabs. One of the tabs contains the Companies table. I’ve added an action button that adds new a new record in the ProjectCompanies table, associated with the project (via local storage) and company (via connection).

My question: is there a way to filter the Companies table that I’ve placed in a column tab on the Project Details Page so that it excludes the companies added to the ProjectCompanies table?