I have two tables:
table1: id, value1, value 2
table2: id, value3
I want to make a delete query that will do the following:
Delete all records from table 1 that have a matching record in table2 (matched by id) where value3 in table2 is "N"
So I don't want to delete anything from table2. Just from table1.
And only where there exists a record in table2 with the same id and value3 = "N"
I'd like to know how to do this in design view without writing sql
But if it can only be done with SQL, that works as well.
table1: id, value1, value 2
table2: id, value3
I want to make a delete query that will do the following:
Delete all records from table 1 that have a matching record in table2 (matched by id) where value3 in table2 is "N"
So I don't want to delete anything from table2. Just from table1.
And only where there exists a record in table2 with the same id and value3 = "N"
I'd like to know how to do this in design view without writing sql
But if it can only be done with SQL, that works as well.