Querying across tables
For example, I have a companies table with name, headcount, and userId
Then I have a crmCompanies table with companyId (relation), crmId, and tier
I want to build a query for companies where userId = X and tier = Y without having to denormalize or fetch all the records in one of the tables
What are my options?
