Information Asset interview question

Java Sql and basic Coding question.