嵌套的select查询导致整个表

时间:2016-05-07 16:13:56

标签: php mysql select nested

以下嵌套选择查询导致显示整个表。

$result=mysqli_query($con,"SELECT * FROM create_job
 WHERE item_no IN (SELECT item_no FROM item WHERE order_no IN (SELECT order_no FROM `order` WHERE delivery_date='$delivery_date'))
;");

0 个答案:

没有答案