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 8432613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:10:31+00:00 2026-06-10T06:10:31+00:00

I have a string for example: MatchString = Renal and Dialysis Technologist and Technician

  • 0

I have a string for example:

MatchString = "Renal and Dialysis Technologist and Technician"

I have a table that has a field called degree_name

As an example one of the degree names may be Dialysis Technician.

I want to try to find degrees that contain a number of the words from the MatchString above – maybe like 2 or 3 matches – is there an easy way to do this in mysql – if so what would the code look like?

Thanks!

  • 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-06-10T06:10:33+00:00Added an answer on June 10, 2026 at 6:10 am

    You will be getting good results with a full text search in boolean mode. First make sure your table is MyISAM, with a full text index on degree_name. Then this query will return matches, and number of words matching your MatchString:

    SELECT degree_name,
    MATCH (degree_name)
    AGAINST ('Renal and Dialysis Technologist and Technician' IN BOOLEAN MODE) FROM degrees
    WHERE MATCH (degree_name)
    AGAINST ('Renal and Dialysis Technologist and Technician' IN BOOLEAN MODE)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For example I have a string that looks like the following: var example_string =
I have a string that has bunch of text. I need to locate all
I have a string that looks like this: blah blah blah yada yada http://www.example.com/check?x=rabP4F3Mk&dept=check
I have following example string that needs to be filtered 0173556677 (Alice), 017545454 (Bob)
I have an input string that's generated as in following example: string.Format(Document {0}, was
I have a string variable that represents the name of a custom class. Example:
I have a string for example, that may contain special characters ( + ,
I have a string.An example is given below. [playlist]\r\npath1=url1\r\npath2=url2\r\npath=url3\r\npath4=url4\r\ncount=1 How can I extract path
I have a string for example like :)text :)text:) :-) word :-( i need
Basically I have this string for example $str = 'По, своей 12' I need

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.