Mercury Financial interview question

Tsys knowledge, knowledge of sql output