Only specific SELECT statements- simple accesses of a single table-allow you to update or delete rows as you step through them.
For more information, see "SELECT statement" and "FOR UPDATE clause" in the Derby Reference Manual.