Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> SQL query

SQL query

From: swamy v a <vasNOvaSPAM_at_jenkon.com.invalid>
Date: 1999/11/03
Message-ID: <006ee2d5.af6aa3e8@usw-ex0109-070.remarq.com>#1/1

I am writing a search engine to search for few words in a field, it am trying to make it work like below:

If the user wants to find the fields containing the words "HISTORY ASIA", it should display in the following order:

i) All fields having the words HISTORY and ASIA should be displayed first.
ii) All fields having the word HISTORY should be displayed next
iii) All fields having the word ASIA should be displayed next.

I am trying to the above query in a single statement with LIKE and OR clauses, but is not returning in the proper order.

thanx,
swamy

Received on Wed Nov 03 1999 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US