

such as
```
create view view1 as 
with t as (select number n from numbers(3))
select n from t
```
#include <Interpreters/ApplyWithSubqueryVisitor.h>
#include <Interpreters/IdentifierSemantic.h>
#include <Interpreters/StorageID.h>
#include <Interpreters/misc.h>
#include <Parsers/ASTFunction.h>
#include <Parsers/ASTSelectQuery.h>
#include <Parsers/ASTSubquery.h>
#include <Parsers/ASTTablesInSelectQuery.h>
#include <Parsers/ASTWithElement.h>
namespace DB
{
void ApplyWithSubqueryVisitor::visit(ASTPtr & ast, const Data & data)