Avaya Customer Interaction Express 1.0 IVR-Editor User Manual page 95

Table of Contents

Advertisement

User Manual CIE 1.0 IVR-Editor
Subqueries
This type of query consists of a SQL SELECT statement within another select or
action query. You can enter these statements for defining a new field or for
defining criteria for a field of the design grid. You can execute the following
tasks with subqueries.
Check if there are results of the subquery (use the reserved terms
EXISTS or NOT EXISTS).
Search for values in the main query that are equal to, greater than,
or less than values returned by the subquery (use the reserved terms
ANY, IN or ALL).
Create subqueries within subqueries (nested subqueries).
Union queries
With UNION records are output from the specified tables without rendering joint
(or double) rows twice. If you have e.g. lists of subscribers for different locations
you can combine these lists using a union query and then evaluate this new list.
Example:
SELECT Subscriber, CallingNumber FROM List1 UNION xxx
SELECT Subscriber, CallingNumber FROM List2 ORDER BY Subscriber;xxx
Join queries
Join queries generate an intersection of the results of concerned tables.
Example:
SELECT List1.Site, List1. Subscriber, List2. CallingNumber FROM
List1, List2 where List1.Site = List2.Site xxx
renders the records of List1 and List2 that are listed in List1 AND List2 with the
same site, combined as record with site, subscriber, and number.
Simple Join queries output only rows that have equivalents in both sets. If rows
must be returned that have no joint equivalent, use "Outer Join".
Terms and elements of the IVR Editor • 89

Advertisement

Table of Contents
loading

This manual is also suitable for:

Customer interaction express 1.0Ivr-editor

Table of Contents