RaceEntry interview question

Explain how to query data from a SQL database