Trax Retail interview question

asked about db