Pergunta de entrevista da empresa Infor

a sql question that was wrong based on the table they described