Check out example codes for "sql oracle update multiple rows". It will help you in understanding the concepts better.

Code Example 1

UPDATE employee
   SET staff_no = 
           CASE depno
                WHEN 1 THEN 'ab123'
                WHEN 2 THEN 'ab321'
                ELSE staff_no
 WHERE depno IN ( 1, 2 ) -- list all cases here. use a subquery if you don't want to / cannot enumerate

Learn ReactJs, React Native from