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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

count ing

V prasadOct 13 2010 — edited Oct 25 2010
hi

i have a sample data like this..

tno
1
1
1
2
2
5
5

now i want output like this on count...

tno.. count(tno)
1......3
2......2
3......0
4......0
5......2

means
3 and 4 are not available,
but i want count as zero
???

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 10 2010
Added on Oct 13 2010
10 comments
493 views