Société Générale interview question

Design Patterns, SQL queries, other