Pergunta de entrevista da empresa Prodigy Education

Coding question: Write an SQL query to merge two tables and display data based on condition