Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to calculate the total of a varchar column?

Re: How to calculate the total of a varchar column?

From: <adik_q_at_wp.pl>
Date: 13 Feb 2006 10:20:17 -0800
Message-ID: <1139854817.487568.130630@g44g2000cwa.googlegroups.com>


Hi,

... a bit shorter version

  SELECT COUNT(gender), gender, NVL(gender, 'ALL') FROM test_gender   GROUP BY GROUPING SETS(gender,0)

Regards
Adrian Received on Mon Feb 13 2006 - 12:20:17 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US