Amelia interview question

Can you explain how you would use SQL to pull info from a database?