SAP interview question

Java and SQL