Goldman Sachs interview question

How to access databases quickly?