S
SpookiePower
I'm not sure how to do this, but I guess that I need
to use some kind of join.
Here is my question -
I have a table "taCustomer" with customerdata, where one field is the
customernumber.
I have another table "taItems" holding data about things the customers
owns, and
a customernumber.
A while ago I deleted some customers in taCustomer, but because of an
error, the
customers belongings in the other table taItems was not deleted.
No I need to find all the customernumbers that is in the taItems-
table,
but NOT in the taCustomer-table, so I can delete them.
How can I do this ? I'm not sure what SQL join to use.
to use some kind of join.
Here is my question -
I have a table "taCustomer" with customerdata, where one field is the
customernumber.
I have another table "taItems" holding data about things the customers
owns, and
a customernumber.
A while ago I deleted some customers in taCustomer, but because of an
error, the
customers belongings in the other table taItems was not deleted.
No I need to find all the customernumbers that is in the taItems-
table,
but NOT in the taCustomer-table, so I can delete them.
How can I do this ? I'm not sure what SQL join to use.