Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

order sql by strongest like using -'mysql,sql,database,full-text-search'


order sql by strongest like  using -'mysql,sql,database,full-text-search'

I have the following query:

SELECT * FROM table_name
WHERE (col_1 LIKE '%$keyword%'
    OR col_2 LIKE '%$keyword%'
    OR col_3 LIKE '%$keyword%')
  AND .... <some optional filters> ...


is there a strategy to sort based on the most relevant results?
    

asked Sep 7, 2015 by rajesh
0 votes
18 views



Related Hot Questions



Government Jobs Opening


...