SLB interview question

Dataset manipulation/SQL