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!

Select distinct('more than one column') from ....

user128148Apr 22 2002 — edited Dec 2 2009
Why does this sql statement not work:
select distinct(column_a, column_b, column_c), empno
from emp;

How can I 'select distinct' using more than one column.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2009
Added on Apr 22 2002
6 comments
44,129 views