pgilmour
12-14-2008, 05:00 PM
I'm trying to delete records in a related table in the following way:
Find every record in table1 whose email address is "blah@blah.com"
Delete every record in table2 that has a matching ID (they're related via ID) to the IDs of the found set in table1.
I'm using MySQL 5 on Linux.
TIA for any help!
Find every record in table1 whose email address is "blah@blah.com"
Delete every record in table2 that has a matching ID (they're related via ID) to the IDs of the found set in table1.
I'm using MySQL 5 on Linux.
TIA for any help!