CME Group Interview Question

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