jfielding2000
James
- Local time
- Today, 01:57
- Joined
- Mar 6, 2008
- Messages
- 31
if I had tblOrders OrderNo, CustomerNo, Date, OrderTotal
tblCustomers CustomerNo, Name, Street, Country, Postcode
and I was asked to delete orders placed by customer Smith, would I be correct if I put this:
DELETE tblOrders*
FROM tblOrders INNER JOIN tblCustomers ON tblOrders.CustomerNo = tblCustomers.CustomerNo
WHERE Name = "Smith"
I wasnt sure about the DELETE tblOrders to have a '*' after it or not . .
tblCustomers CustomerNo, Name, Street, Country, Postcode
and I was asked to delete orders placed by customer Smith, would I be correct if I put this:
DELETE tblOrders*
FROM tblOrders INNER JOIN tblCustomers ON tblOrders.CustomerNo = tblCustomers.CustomerNo
WHERE Name = "Smith"
I wasnt sure about the DELETE tblOrders to have a '*' after it or not . .