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

890667Oct 18 2011 — edited Oct 18 2011
Can someone please explain why the following commands produce different results:

SELECT DISTINCT COUNT (V_CODE) FROM PRODUCT
and
SELECT COUNT (DISTINCT V_CODE) FROM PRODUCT

thanks

Canning
This post has been answered by Devid on Oct 18 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 15 2011
Added on Oct 18 2011
2 comments
1,049 views