Cognizant Interview Question

Question about inner joins in SQL Question about selecting elements in automation