SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 5)
   ExpressionList (children 1)
    WithElement (children 1)
     Subquery (children 1)
      SelectWithUnionQuery (children 1)
       ExpressionList (children 1)
        SelectQuery (children 3)
         ExpressionList (children 3)
          Function CAST (alias fs1) (children 1)
           ExpressionList (children 2)
            Identifier s1
            Literal \'FixedString(10)\'
          Identifier s2 (alias sector)
          Identifier s3
         TablesInSelectQuery (children 1)
          TablesInSelectQueryElement (children 1)
           TableExpression (children 1)
            TableIdentifier t1
         Function notEquals (children 1)
          ExpressionList (children 2)
           Identifier s3
           Literal \'test\'
   ExpressionList (children 1)
    Identifier fs1
   TablesInSelectQuery (children 2)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier t2
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      TableIdentifier tmp1
     TableJoin (children 1)
      ExpressionList (children 1)
       Identifier fs1
   Function in (children 1)
    ExpressionList (children 2)
     Identifier fs1
     Literal \'test\'
   Set
