I was curious myself, so I tried a quick test. It did not work. I suspect that the SQL table "update" permission is not set for Memento scripts.
Note that if you try it yourself, be sure to use a valid SQL statement. Your statement is lacking a "Where" clause, so it would update the entre library!