tekdudedude
Technical User
- Sep 29, 2007
- 79
Hello,
In an Oracle 10g database I have the below SQL which works:
Functionally I need to run this:
But I get the error:
WHERE recid > max(rownum)-25
*
ERROR at line 3:
ORA-00934: group function is not allowed here
What can you recommend please?
Thanks,
TD
In an Oracle 10g database I have the below SQL which works:
Code:
SELECT sid,recid,stamp,output
FROM v$rman_output
WHERE recid > 17400
ORDER BY recid;
Functionally I need to run this:
Code:
SELECT sid,recid,stamp,output
FROM v$rman_output
WHERE recid > max(rownum)-25
ORDER BY recid;
But I get the error:
WHERE recid > max(rownum)-25
*
ERROR at line 3:
ORA-00934: group function is not allowed here
What can you recommend please?
Thanks,
TD