IBM interview question

One question involved using SQL