Freddie Mac Interview Question

complex Sql queries