Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 731359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:01:03+00:00 2026-05-14T07:01:03+00:00

keyword = house SELECT * FROM products WHERE description LIKE ‘%house%’ This query also

  • 0

keyword = house

SELECT * FROM products WHERE description LIKE '%house%'

This query also returns records having keyword, for example, courthouse, but I want to look for house only. How do I search anywhere in the description for “house” only?

Thanks.

UPDATE

just for more clarification ..

actually house, can be at 
  -  the start of the description .. "House for sale..", 
  -  can be quoted -- "house", 'house'
  -  can have exclamation .. house!!!, house!
  - others - house? etc .. 

this is why I used %house%

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T07:01:04+00:00Added an answer on May 14, 2026 at 7:01 am

    SELECT * FROM products WHERE description rlike ‘[[:<:]]house[[:>:]]’

    rlike is synonim for REGEXP.

    [[:<:]] denotes the start of the word and the
    [[:>:]] end of the word.

    It works for all your requirements (case insensitive, with quoted words or words ending, or begging, with exclamation points and other non-letter characters)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The keyword this in C# is slightly different from other languages. I've been googling
Is there any keyword or design pattern for doing this? Please check the update
I have this query that retreives a list of id's + NAME: $sql =
PHP's list keyword is nice for taking out variables from an array $a as
Isn't var a keyword in C#? But why can I do this: public class
After using a keyword API to get popular keywords and phrases, I get also
i get a Keyword not supported: '192.168.1.1;initial catalog'. error when trying to do this
When should the keyword 'this' be used within C# class definitions? Is it standard
The this keyword is optional when accessing instance fields, properties, and methods in languages
i am using collect keyword to get an input from the user. now inside

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.