我想編寫如下的SQL查詢。它的語法不正確。我該如何糾正它?內部加入選擇的SQL查詢
$sql_package_feature = "SELECT f.feature_id, f.feature_name FROM tbl_feature f
LEFT JOIN SELECT * FROM tbl_feature_and_profile fp WHERE fp.profile_id= ?) ON
f.feature_id = fp.feature_id AND f.package_id = fp.package_id WHERE fp.feature_id
IS NULL AND f.package_id = ? ORDER BY f.feature_id";
Thanks Adrin,This works fine, – user1157690 2012-04-05 07:31:49