there are two tables with following columns and dataset:
      emp_details                  emp_value
emp_id--user_id--emp_name    emp_id--user_id--emp_name_val
123      111      CR          123     111        1
124      111      Gr          124     111        2
I want to update the value of emp_name_val=3 for emp_id=124 when emp_id=123 and emp_name_val=1.Need a procedure to update the values when there are such multiple conditions
 
     
    