Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

using having and max function

user517698Jul 30 2006 — edited Sep 25 2006
Hi ,

when i ran this query :

select description_level1 , description_level2 , end_time , loading_timestamp from time_logging
where description_level2 = 'Chrt2D' and
description_level1 = 'FAB2_Inline2D'
group by loading_timestamp , description_level1 , description_level2 , end_time
having max(loading_timestamp) ;


i got this error :

ORA-00920: invalid relational operator

which i dun understand but i could run this query though --> select max(loading_timestamp) from time_logging ;

pls advise

tks & rdgs
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 23 2006
Added on Jul 30 2006
14 comments
1,147 views