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!

Comparing values of a column in a group

560315Apr 4 2007 — edited Apr 4 2007
Hi All,

i have key, dt, col1

1, dt1, a
1, dt2, b
2, dt1, a
2, dt2, a
2, dt3, a

i need to check whether all values of col1, for column key is same or different.
in the example key 1 has difft values for col1,
key 2 has same values for col1.

how can i achieve this in a single sql query?

thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2007
Added on Apr 4 2007
4 comments
485 views