Aera Technology interview question

Java, SQL