知道为什么要查询
SELECT
m.*
FROM
products_description pd,
products p
left join manufacturers m on p.manufacturers_id = m.manufacturers_id,
products_to_categories p2c
WHERE
p.products_carrot = '0' and
p.products_status = '1' and
p.products_id = p2c.products_id and
pd.products_id = p2c.products_id and
pd.language_id = '4' and
p2c.categories_id = '42'
GROUP BY manufacturers_id
ORDER BY COUNT(*)
可能会出现以下错误:
#1111
- 无效使用组功能
在 MySQL 4.0.24 上而不是在 MySQL 5.0.51 上?