CRISIL Interview Question

Based on Java and SQL