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!

Distinct for only one column

586646Jul 5 2007 — edited Jul 6 2007
Hi,

I want select only distinct column of one column while at the same time displaying the other column attributed to the selected column.

e.g. select name
from student
where name in
(select distinct name from student)
and processing_date >= '20070701'
and processing_date < '20070702'

this list all the similar rows and the distinct. Please assist. Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 3 2007
Added on Jul 5 2007
9 comments
3,912 views