Flagstar Bank Interview Question

What is the difference between a derived table and a subquery?