CreateQuery m3 (children 3)
 Identifier m3
 SelectWithUnionQuery (children 1)
  ExpressionList (children 1)
   SelectQuery (children 2)
    ExpressionList (children 3)
     Identifier d
     Function toStartOfHour (alias t) (children 1)
      ExpressionList (children 1)
       Identifier m1.t
     Identifier c
    TablesInSelectQuery (children 1)
     TablesInSelectQueryElement (children 1)
      TableExpression (children 1)
       TableIdentifier m1
 ViewTargets (children 1)
  Storage definition (children 1)
   Function SummingMergeTree (children 1)
    ExpressionList (children 3)
     Identifier d
     Function tuple (children 1)
      ExpressionList (children 2)
       Identifier d
       Identifier t
     Literal UInt64_1
