Polaris FT interview question

It was a sql based question