Give me some time :-)))
Jan Pruner

Dne st 15. srpen 2001 12:40 jste napsal(a):
> Dear gurus !
>       I have a table of phone calls , 2 fields : CALL_START   DATE ,
> CALL_END   DATE .
>       I need an SQL statement or a PL/SQL block to calculate the maximum
> number of SIMULTANIOUS phone conversations.
> Consider there are 4 calls ,
> one started at 12:10 and ended at 12:40
> second started at 12:15 and ended at 12:30
> third started at 12:25 and ended at 12:55.
> fourth started at 12:45 and ended at 12:47.
> So the first 3 calls are simultanious , for example they overlap at 12:28 ,
> i.e. there are 3 pairs of persons having phone conversation at 12:28.
> The third and fourth calls are simultanious at 12:46 ,i.e. there are 2
> pairs of persons having phone conversation at 12:46.
> So , i need the maximum number of concurrent phone conversations in my
> table.
> Thanks a lot !!!
>
>       Please help !!!
>       Thanks a lot in advance !
>       Andrey.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jan Pruner
  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