Pergunta de entrevista da empresa Fast Enterprises

Find errors with an algorithm. Writing SQL queries.