Wissen Infotech interview question

Java programs and 1 sql query