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 -> In line queries......

In line queries......

From: Miggins <mtproc_at_yahoo.co.uk>
Date: 9 Mar 2006 07:43:25 -0800
Message-ID: <1141919005.555802.327320@j33g2000cwa.googlegroups.com>


Picture the scene,

I have a SUBSCRIBERS table thus

SUBS_ID            number(8)
SUBS_TYPE      varchar2(3)
SUBS_START    date
SUBS_END        date

I am wanting to run a query which will give me a count of all active and cancelled subscriptions by type. An active subscription is one with a NULL SUBS_END date and cancelled is one with a SUBS_END date.

Have been trying in-line views to no avail.

All help greatly appreciated. Received on Thu Mar 09 2006 - 09:43:25 CST

Original text of this message

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