我正在尝试进行以下搜索
正如您将能够看到我正在从不同的表格中完整搜索许多不同的行。
SELECT *,
group_concat(offer ORDER BY offer_value DESC SEPARATOR ',') as offers,
group_concat(offer_value ORDER BY offer_value DESC) as offer_value,
MATCH (approved_business.tradingname,business_stores.suburb) AGAINST ('lol') AS score
FROM approved_business, business_stores, Real_Cash_Offers
WHERE approved_business.id = business_stores.business_id
AND Real_Cash_Offers.business_id = approved_business.id
AND Real_Cash_Offers.storeid = business_stores.storeid
AND MATCH (approved_business.tradingname,business_stores.suburb) AGAINST ('lol')
GROUP BY id ORDER BY offer_value DESC
我遇到的问题是以下
MATCH
的参数不正确
答案 0 :(得分:1)
MATCH (...)
中的所有列必须来自同一个表。