UPS interview question

How would you get specific data from a database