UST interview question

SQL query for inserting into multiple tables.