Shopclues interview question

Find intersection of two tables using joins.