I can't seem to figure out where is the syntax mistake. Even though the query is very simple.
Thanks in advance!
UPDATE t_stock
set f_atcid = (select a.id from t_atc a where a.f_code = ' ' where rownum < 2)
where id in (select f_stockid from t_barcode where f_barcode = ' ');
whereclauses). I would keep this question on the site.