J.P. Morgan interview question

Design application with employee department, explain from scratch how to implement