Invage Systems interview question

Database and logically related questions.