Monday, October 11, 2010

SQL - Like Query, Order the results according to the word density of the searched results

SELECT * FROm TestTable WHERE description LIKE '%environment%' order by description LIKE '%environment%' desc

No comments:

Post a Comment