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!

group by

598866Oct 1 2007 — edited Oct 1 2007
how could I get the MAX value on my query if there is a null record? this is my data

emp_id first_name last_name email
12 ana taylor ataylor@email.com
14 ana taylor
15 ana taylor

my query:
SELECT MAX(EMP_ID), FIRST_NAME, LAST_NAME, EMAIL
FROM EMP
GROUP BY FIRST_NAME, LAST_NAME, EMAIL

still the same output..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2007
Added on Oct 1 2007
18 comments
711 views