Skip to Main Content

Japanese

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!

excel のcountif() のような関数は存在する?

859671May 4 2011 — edited May 5 2011
test テーブルにstatus にnull, 0 , 1 ,2 という値が存在して、2のみをカウントしたいのですが

select countif( status ,2 ) from test

のようにスマートに取得する方法はないでしょうか?
よろしくお願いします。
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 2 2011
Added on May 4 2011
2 comments
3,823 views