FICO interview question

SQL queries