TD Interview Question

they gave me technical 2 questions inner joins duplicate rows