SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 5)
   ExpressionList (children 1)
    Identifier val
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier tab
   Function notEquals (children 1)
    ExpressionList (children 2)
     Function nowInBlock (children 1)
      ExpressionList (children 1)
       Identifier tz
     Function toDateTime (children 1)
      ExpressionList (children 1)
       Literal \'2000-01-01 00:00:00\'
   ExpressionList (children 1)
    OrderByElement (children 1)
     Identifier val
   Set
