如何使用INNER JOIN从第二个和第三个表中选择某些列
SELECT
*
FROM
1_packages_plu AS p
INNER JOIN
1_stock as s ON p.fk_products_id = s.fk_products_id
AND branch = 1
INNER JOIN
1_products AS j ON p.fk_products_id = j.id
WHERE
fk_packages_id = 54;
在表格中1_stock
,我只想返回stock-repair
列的值,而1_products
我只需要制作、模型列