select *
FROM(
SELECT
RON NUMBER() OVER (PARTITION BY bond_code ORDER BY adapter_id)As rn
FROM rms_msg_receive dtls
)AS t WHERE t.rn =1;
Cause of Failure
ErorCode = 900, $QLState = 42000, Details = ORA-00900: You have an eror in your $Ql syntax, check the manual that corresponds to your Ocear
nBase version for the right syntax to use near ‘tWHERE tm = 1’ at line 6