Pergunta de entrevista da empresa Hexaware Technologies

They ask me to write SQL query they have provided condition.