Pergunta de entrevista da empresa WebMD Health

Asked to right SQL queries medium level