Pregunta de entrevista de Bell

how to solve the problem about database