Goldman Sachs interview question

Difference between firebase and SQL