LatentView Analytics Very Tricky SQL Interview Question | SQL Question for Data Engineering

Publicado em: 22 Agosto 2024
no canal de: DataTechWhiz
1,602
42

LatentView Analytics Very Tricky SQL Interview Question | SQL Question for Data Engineer

In this video, I will show you how I solved a very tricky SQL interview question asked to me by LatentView Analytics .


Input:


with data as (
select "A" as class, "Maths" as sub union all
select "B", "English" union all
select "A", "Social" union all
select "B", "Chemistry" union all
select "A","Physics" union all
select "B", "Statistics" union all
select "A", "Biology" union all
select "B", "Maths" union all
select "A", "Science" union all
select "B", "Social"
)

Output:
-- Class Sub1 Sub2 Sub3 Sub4 Sub5
-- A Science Physics Social Maths Biology
-- B English Social Maths Statistics Chemistry


Nesta página do site você pode assistir ao vídeo on-line LatentView Analytics Very Tricky SQL Interview Question | SQL Question for Data Engineering duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário DataTechWhiz 22 Agosto 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,602 vezes e gostou 42 espectadores. Boa visualização!