我得到一个错误SUBSELECT
?
$common_dimensions_query = "
SELECT *
FROM main_products_common_dimensions d
WHERE d.product_id = (SELECT id FROM main_products WHERE abbreviation = '".$product."'";
错误:
警告:pg_query() [function.pg-query]:查询失败:错误:输入第 4 行末尾的语法错误:...(SELECT id FROM main_products WHERE abbreviation = 'banner' ^ in
反正有没有在LEFT JOIN
这里做?