delete query

  • Thread starter samotek via AccessMonster.com
  • Start date
S

samotek via AccessMonster.com

I need to update the table products from the products in the table [order
details] and also delete all the products in the table products that are not
contained in the table [order details]. My update query is sucessful as
follows
UPDATE products1 INNER JOIN [Order Details1] ON products1.Productid = [Order
Details1].productid SET products1.branch9 = [order details1].[cartons];
But how can i delete the products that are not contained in the table order
details?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

addition with 0 1
Update query 3
updating 1
update query 2
Syntax error 2
Delete query 1
return product with maximum price 6
DCount 3

Top