Nasdaq interview question

How did I manage data in the database?