API Guide Using the Data Mining API Data Mining With SQL 27 Data Mining With SQL Learn how to solve business problems using the Oracle Data Mining application programming interface (API). Highlights of the Data Mining API Example: Targeting Likely Candidates for a Sales Promotion Example: Analyzing Preferred Customers Example: Segmenting Customer Data Example : Building an ESA Model with a Wiki Dataset