SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 2)
    Literal \'(forward, head, A) id = 12\'
    Function sequenceNextNode (alias next_node) (children 2)
     ExpressionList (children 4)
      Identifier dt
      Identifier action
      Literal UInt64_1
      Function equals (children 1)
       ExpressionList (children 2)
        Identifier action
        Literal \'A\'
     ExpressionList (children 2)
      Literal \'forward\'
      Literal \'head\'
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier test_sequenceNextNode
   Function equals (children 1)
    ExpressionList (children 2)
     Identifier id
     Literal UInt64_12
