TRM Labs interview question

Basic SQL, intermediate SQL, and your programming language of choice.