Pregunta de entrevista de BNP Paribas

some sql questions, some comptency based