troubleshooting Question

ORA-30484: missing window specification for this function

Avatar of samir25
samir25 asked on
Oracle Database
21 Comments1 Solution6067 ViewsLast Modified:
hi
i am running this query
 select lead(id) from tablename
 where id=8193
 group by station
 order by start_time desc;
and i get this error. the idea is to get the lead id number if i sort the view by start_time/grouped by station...
can someone help me with the correct query.
thanks,
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 21 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 21 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros