I have been given the nice task of creating a view of some data in our database.

This doesn't seem like a major task, but after 2 days of work, I am stumped.

Given table 'table1'
   code1,
   code2,
   date,
   value1,
   value2

I need to produce a view showing
   code1,
   code2,
   sum(value1),
   sum(value2)
  where date < 'user input date'

I have not been able to get the view to prompt for the date to limit the sum by.

Specifics:
  Oracle RDMBS  7.3.4
  Server:  Unix

What else can I say, but I am totally stumped.   HELP!
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: William Rogge
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to