Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL - telecom domain.

BugsMar 25 2017 — edited Mar 26 2017
A_NOB_NOSTART_TIMEEND_TIME
61461425-MAR-17:03:00:0025-MAR-17:03:05:00
61423525-MAR-17:03:01:0025-MAR-17:03:02:00
61434525-MAR-17:03:01:3025-MAR-17:03:03:00

In my telecom domain project, I've a scenario wherein A_NO = B_NO happens to be the 1st record in a group ordered by start_time , it means A_NO initiates a conference call by bringing himself in. A_NO then brings in two other numbers (235 and 345 ) to the conference identified by 2nd and 3rd record respectively..  Also the start_time and end_time  of records 2 and 3 overlap with the the 1st , therefore the 3 set of records collectively quantify as  " conference call "

In the scenario below, the 2nd party (235) dials to 345 to bring him to the conference . This as well quantify conference call.

A_NOB_NOSTART_TIMEEND_TIME
61461425-MAR-17:03:00:0025-MAR-17:03:05:00
61423525-MAR-17:03:01:0025-MAR-17:03:02:00
23534525-MAR-17:03:01:3025-MAR-17:03:03:00

Could someone help with a SQL to identify conference call taking into consideration of all the above criteria's.  Thank you!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2017
Added on Mar 25 2017
6 comments
1,033 views