Thomson Reuters interview question

Technical Question on OOPS and SQL joins