Bank of America Interview Question

case study with SQL