If I write a SQL statement that includes CTEs, will the query optimiser always retain those CTEs as discrete statements to be optimised individually or can it merge those CT