Purchase Solution

Oracle9i Database SQL Search Query Optimization

Not what you're looking for?

Ask Custom Question

The newspaper had added a special deal for the classified ads online. For a small fee, the words "BEST BUY" are added to the text of the ad, and these ads are listed on a special "Best Buy" page online. The online classified section has a query to bring up all the ads that qualify, but it runs very slowly. Here is the query.

SELECT AD_TEXT, AD_NO
FROM CLASSMATE.CLASSIFIED_AD
WHERE INSTR(AD_TEXT, 'BEST BUY') > 0

Create an index that will be used for this query and therefore speed up its response time. Save your SQL in a file.

Attachments
Purchase this Solution

Solution Summary

The expert examines Oracle9i Database search query optimization.

Solution Preview

Please see the attached files.

The newspaper had added a special deal for the classified ads online. For a small fee, the words "BEST BUY" are added to the text ...

Purchase this Solution


Free BrainMass Quizzes
Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic Networking Questions

This quiz consists of some basic networking questions.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C# variables and classes

This quiz contains questions about C# classes and variables.