Sopra Steria interview question

questions on java, sql and some logical questions