标签: mysql sql pymysql
此查询出了什么问题?
where java
答案 0 :(得分:2)
我认为您打算这样做
SELECT sa.quantity FROM ps_stock_available sa INNER JOIN ps_product_attribute pa ON sa.id_product = pa.id_product WHERE pa.reference = 100102;
注意:
ON
JOIN