Data mining and predictive analytics are one of the analytical feature of Oracle Database. Since these features are part of a common server it is possible to combine them efficiently.
The possibilities for combining different analytics are virtually limitless.
The following Example within a single SQL query shows:
The query selects all customers who:
SELECT A.cust_name, A.contact_info
FROM customers A
WHERE PREDICTION_PROBABILITY(tree_model,'attrite' USING A.*) > 0.8
AND A.cust_value > 90
AND A.cust_id IN
(SELECT B.cust_id
FROM call_center B
WHERE B.call_date BETWEEN '01-Jan-2005'
AND '30-Jun-2005'
AND CONTAINS(B.notes, 'Checking Plus', 1) > 0);
where: