Pergunta de entrevista da empresa Walmart Global Tech

SQL problems, about easy-medium difficulty.