我对这个 mysql 查询有疑问:
select * from tb1 as a
where (select count(*) from tb2 as b
where Match(b.column1) against(`a.id`) ) = '1'
Mysql有这个错误:
1054 - 'where 子句'中的未知列'a.id'
因此,我想获取 tb1 中的所有条目,其中 tb2 中 a.id 在“column1”列内的条目数为 1。
我希望您了解我的目的,否则请随时提问。