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: SQL sentence

Re: SQL sentence

From: Cris Carampa <cris119_at_operamail.com>
Date: Thu, 21 Jul 2005 11:02:05 +0200
Message-ID: <42df64ab$0$318$5fc30a8@news.tiscali.it>


MĒ Carmen Lozano wrote:

> Can somebody help me?

COUNT(CASE...WHEN...END) must be applied to CODE column in order to generate n pseudocolumn, one for each different value of CODE you wish to count.

You must group results by CITY.

Kind regards,

-- 
Cris Carampa (cris119_at_operamail.com)
"E` evidente che siamo di fronte allo sfruttamento opportunistico
  di quella quota di astensioni fatalmente derivanti da disinteresse
  o indifferenza." (Gustavo Zagrebelsky)
Received on Thu Jul 21 2005 - 04:02:05 CDT

Original text of this message

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