Question d’entretien chez JPMorganChase

Write a sql query (involved a self join)