Domanda di colloquio di Flagstar Bank

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