ADP interview question

Write a sql query to fetch the common items