Simplify the CreateTableAsSelect by removing the query plan