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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:06:31+00:00 2026-06-02T22:06:31+00:00

table.a is innodb has fields id,post_id,auther,add_date table.b is myisam has fields post_id,title,content , fulltext

  • 0

table.a is innodb has fields id,post_id,auther,add_date

table.b is myisam has fields post_id,title,content, fulltext key(title,content)

select * from b 
where match (title,content) 
against ('+words' in boolean mode)

this could return 12 records. when run a explain, I could see the fulltext key. But

select * from a 
inner join b 
on a.post_id = 'b.post_id' 
where match (b.title,b.content)
against ('+words' in boolean mode)
and a.auther = 'someone'
order by a.id asc

this retrun 0 result. I have checked

select id,auther,post_id from a where auther = 'someone' 

the return post_id put in mysql

select post_id from b where post_id = 'post_id from table a'

this result is exist. So where is the problem? (BTW, 2 tables post_id are all saved as varchar)

  • 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-02T22:06:32+00:00Added an answer on June 2, 2026 at 10:06 pm

    I suspect that you didn’t intend for the join condition to be

    on a.post_id = 'b.post_id'
    

    but rather

    on a.post_id = b.post_id
    

    (The difference being that your version will join every row of b to any row of a where a.post_id is the string "b.post_id", whereas my version will join rows of a to rows of b where their respective post_id columns are equal).

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

Sidebar

Related Questions

I'm switching a large table to InnoDB from myISAM. There has been a lot
I need to select a row from table that has more than 5 millions
I have a myisam table and a innodb one. The innodb has an index
I am trying to rotate out an innoDB table which has a high number
I want to alter a table from INNODB to MEMORY ENGINE. So I typed
I have a search functionality that obtains data from an InnoDB table ( utf8_spanish_ci
i recently migrated my whole DB from myisam to innodb. I am fairly new
I have a InnoDB table that has about 17 normalized columns with ~6 million
I have a table using innodb. I know the table has roughly 89 million
I have an innodb table that contains 70 million records and already has several

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.