GEP Interview Question

Regarding the dbms and sql