there are two tables jobs and employees. i want to displace emloyees.first_name with jobs.job_title. wnen i do like this:
update employees
set first_name= (select distinct job_title from jobs,employees where
employees.job_id=jobs.job_id)
QL Error: ORA-01427: single-row subquery returns more than one row occure.
tryed to do it with cursor, but there was the same error. Could you please tell me how to update muliple rows on the basis of another table?