Revature Interview Question

How to pull data from a SQL table?