TPS interview question

Database schemas