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

  • Home
  • SEARCH
  • 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 7948631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:46:42+00:00 2026-06-04T01:46:42+00:00

I have a MySQL-table called customers1 running engine MyISAM. I’ve created a full text

  • 0

I have a MySQL-table called “customers1” running engine MyISAM. I’ve created a full text index on the columns name,adress and zip. Now one of the customers in that table is me. I spell my name “Gildebrand”. Now i can’t expect that the users can spell my name correctly, many might write “Glidebrant”, but still want to find my. How could i do that search in SQL?

If i run the following query right now

SELECT * FROM customers1 WHERE MATCH(name,adress,zip) AGAINST('Gildebrand')

It finds me, of course. But if i misspell, “Glidebrand”, it doesn’t find me. What would be the best approach to this?

  • 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-04T01:46:43+00:00Added an answer on June 4, 2026 at 1:46 am

    I have a generic search similar to yours. Here’s basically what I do:

    SELECT * FROM customers1 WHERE MATCH(name,adress,zip) AGAINST('?')
    UNION
    SELECT * FROM customers1 WHERE name LIKE ('?%')
    

    This allows the user to just enter a prefix also.

    If the user realizes they can’t spell your name, but they’re sure it starts with Gil, then they can just type that.

    You can add additional UNION clauses if you want to support prefixes on other columns too.

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

Sidebar

Related Questions

I have a mysql database table called character with columns like name, strength, intelligence,
I have a MySQL table (called formstatus ) with 4 columns: id , form
I have a MySQL table called Cars . The Cars table has three columns:
I have a mySQL table called clients with this structure: Name | Phone |
I have a legacy MySQL table called lnk_lists_addresses with columns list_id and address_id .
I have 1 mysql table called colors with rows id and name 1 -
I have a mysql table called jos_users_quizzes with the following columns: id quiz_i duser_id
I have a MySql table called reviews which stores a lot of product reviews,
I have this mysql table called comments which looks like this: commentID parentID type
I have a MySQL table called Users. The rows have 4 fields and look

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.