Fission Labs interview question

Design SQL table schema based on problem