SecureAge interview question

Basic programming question, database design