CME Group interview question

How do you write SQL scripts to verify test results from backend?