Goldman Sachs interview question

They asked about SQL(joins, aggregate functions),