

such as
```
create view view1 as 
with t as (select number n from numbers(3))
select n from t
```
"ATTACH ... FROM ... query is not supported for {} table engine, "
                        "because such tables do not store any data on disk. Use CREATE instead.", res->getName());
    database->createTable(getContext(), create.table, res, query_ptr);
    
    
    if (from_path)
        res->rename(actual_data_path, {create.database, create.table, create.uuid});
    
    
    
    
    
    
    
    
    
    
    
    res->startup();
    return true;
}
BlockIO InterpreterCreateQuery::doCreateOrReplaceTable(ASTCreateQuery & create,
                                                       const InterpreterCreateQuery::TableProperties & properties)
{
    auto ast_drop = std::make_shared<ASTDropQuery>();
    String table_to_replace_name = create.table;
    bool created = false;
    bool replaced = false;
    try
    {