Virtusa interview question

Java and SQL. It was easy