SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 4)
   ExpressionList (children 8)
    Identifier s.a
    Identifier s.b
    Function max (alias dt1) (children 1)
     ExpressionList (children 1)
      Identifier s.dt1
    Identifier s.c
    Identifier s.d
    Identifier s.f
    Identifier s.i
    Function max (alias dt2) (children 1)
     ExpressionList (children 1)
      Identifier s.dt2
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (alias s) (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 3)
         SelectQuery (children 1)
          ExpressionList (children 8)
           Function toUInt64 (alias a) (children 1)
            ExpressionList (children 1)
             Literal UInt64_4360430
           Function toUInt64 (alias b) (children 1)
            ExpressionList (children 1)
             Literal UInt64_5681495
           Function toDateTime (alias dt1) (children 1)
            ExpressionList (children 2)
             Literal \'2018-11-01 10:44:58\'
             Literal \'Asia/Istanbul\'
           Literal \'txt\' (alias c)
           Function toDecimal128 (alias d) (children 1)
            ExpressionList (children 2)
             Literal \'274.350000000000\'
             Literal UInt64_12
           Function toDecimal128 (alias f) (children 1)
            ExpressionList (children 2)
             Literal Float64_268.97
             Literal UInt64_12
           Function toDecimal128 (alias i) (children 1)
            ExpressionList (children 2)
             Literal Float64_0
             Literal UInt64_12
           Function toDateTime (alias dt2) (children 1)
            ExpressionList (children 2)
             Literal \'2018-11-02 00:00:00\'
             Literal \'Asia/Istanbul\'
         SelectQuery (children 1)
          ExpressionList (children 8)
           Function toUInt64 (alias a) (children 1)
            ExpressionList (children 1)
             Literal UInt64_4341757
           Function toUInt64 (alias b) (children 1)
            ExpressionList (children 1)
             Literal UInt64_5657967
           Function toDateTime (alias dt1) (children 1)
            ExpressionList (children 2)
             Literal \'2018-11-01 16:47:46\'
             Literal \'Asia/Istanbul\'
           Literal \'txt\' (alias c)
           Function toDecimal128 (alias d) (children 1)
            ExpressionList (children 2)
             Literal \'321.380000000000\'
             Literal UInt64_12
           Function toDecimal128 (alias f) (children 1)
            ExpressionList (children 2)
             Literal Float64_315.08
             Literal UInt64_12
           Function toDecimal128 (alias i) (children 1)
            ExpressionList (children 2)
             Literal Float64_0
             Literal UInt64_12
           Function toDateTime (alias dt2) (children 1)
            ExpressionList (children 2)
             Literal \'2018-11-02 00:00:00\'
             Literal \'Asia/Istanbul\'
         SelectQuery (children 1)
          ExpressionList (children 8)
           Function toUInt64 (alias a) (children 1)
            ExpressionList (children 1)
             Literal UInt64_4360430
           Function toUInt64 (alias b) (children 1)
            ExpressionList (children 1)
             Literal UInt64_5681495
           Function toDateTime (alias dt1) (children 1)
            ExpressionList (children 2)
             Literal \'2018-11-02 09:00:07\'
             Literal \'Asia/Istanbul\'
           Literal \'txt\' (alias c)
           Function toDecimal128 (alias d) (children 1)
            ExpressionList (children 2)
             Literal \'274.350000000000\'
             Literal UInt64_12
           Function toDecimal128 (alias f) (children 1)
            ExpressionList (children 2)
             Literal Float64_268.97
             Literal UInt64_12
           Function toDecimal128 (alias i) (children 1)
            ExpressionList (children 2)
             Literal Float64_0
             Literal UInt64_12
           Function toDateTime (alias dt2) (children 1)
            ExpressionList (children 2)
             Literal \'2018-11-02 00:00:00\'
             Literal \'Asia/Istanbul\'
   ExpressionList (children 6)
    Identifier s.a
    Identifier s.b
    Identifier s.c
    Identifier s.d
    Identifier s.f
    Identifier s.i
   ExpressionList (children 6)
    OrderByElement (children 1)
     Identifier s.a
    OrderByElement (children 1)
     Identifier s.b
    OrderByElement (children 1)
     Identifier s.c
    OrderByElement (children 1)
     Identifier s.d
    OrderByElement (children 1)
     Identifier s.f
    OrderByElement (children 1)
     Identifier s.i
