Skip to Main Content
Solving Operational Business Intelligence with InfoSphere Warehouse Advanced Edition
book

Solving Operational Business Intelligence with InfoSphere Warehouse Advanced Edition

by Whei-Jen Chen, Pat Bates, Timothy Donovan, Garrett Fitzsimons, Jon Lind, Rogerio Silva
October 2012
Beginner to intermediate content levelBeginner to intermediate
506 pages
12h 43m
English
IBM Redbooks
Content preview from Solving Operational Business Intelligence with InfoSphere Warehouse Advanced Edition
Chapter 10. Techniques for data mining in an operational warehouse 389
Customer table to identify the relative RISK level of a particular customer. The
SQL for this query is shown in Example 10-5.
Example 10-5 Joining scoring output with other data warehouse data
SELECT C.CUSTOMER_ID, C.RISK, L.LOAN_ID, L.LOAN_AMOUNT
FROM CUSTOMERS ANALYZE_TABLE (IMPLEMENTATION ‘PROVIDER=SAS;
ROUTINE_SOURCE_TABLE=USER1.SOURCE_TABLE;
ROUTINE_SOURCE_NAME=FRAUD;’) AS C,
LOANS AS L,
WHERE C.CUSOMER_ID = L.CUSTOMER_ID
AND C.RISK > 50
ORDER BY C.RISK DESC;
This SQL query returns an ordered list (by RISK from highest to lowest) of
customers. Each record will list the cust
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick

Publisher Resources

ISBN: 0738437255Purchase book