CreateQuery tt_mv (children 3)
 Identifier tt_mv
 SelectWithUnionQuery (children 1)
  ExpressionList (children 1)
   SelectQuery (children 3)
    ExpressionList (children 2)
     Identifier p
     Function minState (alias tmin) (children 1)
      ExpressionList (children 1)
       Function minus (children 1)
        ExpressionList (children 2)
         Function now (children 1)
          ExpressionList
         Function toIntervalMinute (children 1)
          ExpressionList (children 1)
           Literal UInt64_30
    TablesInSelectQuery (children 1)
     TablesInSelectQueryElement (children 1)
      TableExpression (children 1)
       TableIdentifier tt_null
    ExpressionList (children 1)
     Identifier p
 ViewTargets
