Witam. Chciałem napisać takie zapytanie, które wybierze dane z jednej kolumn, a następnie tymi danymi wypełni dane w innej kolumnie. Silnik firebird.
Wygląda ono tak:
update kd_histzatrud h
set h.hzat_miejscepracy = (select h.hzat_zaklad
from kd_histzatrud h);
Niestety po uruchomieniu zapytanie zwraca taki błąd:
can't format message 13:189 -- message file C:\WINDOWS\firebird.msg not found.
multiple rows in singleton select.
Mam prośbę o pomoc bardziej doświdaczonych kolegów i koleżanek.