Unknown column issue with mysql alias subquery and MATCH -


i , trying run query searches same thing within 3 tables using match , subqueries alias.

where query

select      id,      name,      (select typename table2 id = table.id) type table       match (name, type) against ('keyword1 keyword2') 

any ideas how solve it?

my 2 msql tables this:

table | id | name       | type | |  1 | john smith |   1  | |  2 | mark taylor |   1  |  table2 | id | typename       | description | |  1 | student        | bla bla bla | 

so if search keyword1 , keyword2 (john student) results should both lines table table.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -