Société Générale interview question

load data sequence wise into 3 tables