Answer the question
In order to leave comments, you need to log in
Single row subquery returns more than one row?
Hello everyone, I want to transfer data from a column of one table to a column of another table. I am writing this request.
update contract_city
set manager_id =
(select contract_manager.manager_id
from contract_manager)
Answer the question
In order to leave comments, you need to log in
See:
update contract_city
set manager_id =
(select contract_manager.manager_id
from contract_manager)
select contract_manager.manager_id
from contract_manager
select contract_manager.manager_id
from contract_manager
where contract_city.NAME_MANAGER = contract_manager.NAME_MANAGER
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question