SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 1)
    Identifier id
   TablesInSelectQuery (children 3)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (alias a) (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 1)
          ExpressionList (children 1)
           Function toLowCardinality (alias id) (children 1)
            ExpressionList (children 1)
             Literal UInt64_1
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      Subquery (alias b) (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 1)
          ExpressionList (children 1)
           Function toLowCardinality (alias id) (children 1)
            ExpressionList (children 1)
             Function toUInt128 (children 1)
              ExpressionList (children 1)
               Function materialize (children 1)
                ExpressionList (children 1)
                 Literal UInt64_0
     TableJoin (children 1)
      ExpressionList (children 1)
       Identifier id
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      TableIdentifier a (alias t)
     TableJoin (children 1)
      Function less (children 1)
       ExpressionList (children 2)
        Identifier b.id
        Identifier t.id
