Revature interview question

How to retrieve everything from a table?