DataCaliper interview question

DB design