Infosys interview question

Java and sql questions based on previous projects