i am trying to make a normal update statement .
update adm_types_uda set type_id =28202 where recid in (
SELECT recid FROM
(
SELECT *FROM adm_types_uda
ORDER BY recid desc
)
WHERE rownum <= 284
ORDER BY recid )
it gives me
SQL Error: ORA-00907: missing right parenthesis
the inner select between in worked well independent .
i try to give all select an alias but still give the same error
update adm_types_uda uda set uda.type_id =28202 where uda.recid in (
SELECT gd.recid FROM
(
SELECT * FROM adm_types_uda u
ORDER BY u.recid desc
) gd
WHERE rownum <= 284
ORDER BY gd.recid)
can any one help ?