标签: 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')) ;");