Capgemini Interview Question

differednc btwn temp table,derived table