SelectWithUnionQuery (children 3)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 1)
    Literal UInt64_10
   TablesInSelectQuery (children 2)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier system.query_log (alias a)
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      TableIdentifier system.processes (alias b)
     TableJoin (children 1)
      Function and (children 1)
       ExpressionList (children 2)
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier a.query_id
          Identifier b.query_id
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier a.query_id
          Identifier b.query_id
   Function equals (children 1)
    ExpressionList (children 2)
     Identifier current_database
     Function currentDatabase (children 1)
      ExpressionList
 Identifier Null
 Set
