SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 5)
   ExpressionList (children 1)
    Asterisk
   TablesInSelectQuery (children 3)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier tab_l (alias l)
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      TableIdentifier tab_m (alias m)
     TableJoin (children 1)
      Function equals (children 1)
       ExpressionList (children 2)
        Identifier l.d
        Identifier m.a
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      TableIdentifier tab_r (alias r)
     TableJoin (children 1)
      Function and (children 1)
       ExpressionList (children 3)
        Function equals (children 1)
         ExpressionList (children 2)
          Function multiply (children 1)
           ExpressionList (children 2)
            Identifier l.a
            Literal UInt64_2
          Function multiply (children 1)
           ExpressionList (children 2)
            Identifier r.a
            Literal UInt64_2
        Function equals (children 1)
         ExpressionList (children 2)
          Function plus (children 1)
           ExpressionList (children 2)
            Identifier l.b
            Identifier l.c
          Function multiply (children 1)
           ExpressionList (children 2)
            Identifier r.c
            Literal UInt64_2
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier l.d
          Identifier r.d
   ExpressionList (children 1)
    OrderByElement (children 1)
     Identifier l.a
   Literal UInt64_999990
   Literal UInt64_10
