IBM interview question

Sql and java mainly from sql