Mphasis Interview Question

How to work with DB