1234
SELECT id,amount FROM productLEFT JOIN product_details ON (product.id = product_details.id) AND product_details.id=2;
EOF
感谢鼓励