GEP Interview Question

Question based on database connection