2015-10-05 73 views

回答

3
DELETE o 
FROM  Orders o 
INNER JOIN Customer c ON o.idCustomer = c.ID 
WHERE  c.firstName = 'john' 
+0

非常感谢你 –

0
Delete From 
    orders 
Where 
    Orders.firstName In 
     (Select 
      firstName 
     From 
      customers 
      Inner Join orders On customers.ID = orders.idCustomer 
     Where 
      customers.firstName = "john") 
相关问题