eClinicalWorks Interview Question

How do you implement inner join for two relations?